Pawel Jakub Dawidek dc9c6194b5 Made use of MNT_USER flag and inform about user responsible for mount
in those cases:
1. File system was mounted by an unprivileged user.
2. File system was mounted by an unprivileged root user.
3. File system was mounted by a privileged non-root user.

Point 1 is when file system was mounted by unprivileged user
(sysctl vfs.usermount was equal to 1 then).

Point 2 is when file system was mounted by root, while sysctl
security.bsd.suser_enabled is set to 0 and sysctl vfs.usermount
is set to 1.

Point 3 is because we want to be ready for capabilities.

Reviewed by:	rwatson
Approved by:	scottl (mentor)
2004-02-02 18:37:30 +00:00
..
2004-01-21 21:31:19 +00:00
2003-06-08 12:40:50 +00:00
2004-01-11 09:11:10 +00:00
2002-07-06 19:34:18 +00:00
2003-11-13 19:08:43 +00:00
2004-01-27 19:28:13 +00:00
2003-11-13 19:18:43 +00:00
2003-08-12 20:01:10 +00:00
2003-09-14 13:41:59 +00:00
2004-01-29 14:36:16 +00:00
2004-01-21 13:24:38 +00:00
2003-05-05 22:49:23 +00:00
2003-01-08 06:43:27 +00:00
2003-05-05 22:49:23 +00:00
2004-02-01 13:09:26 +00:00
2003-11-07 21:28:29 +00:00
2004-01-17 00:31:38 +00:00