freebsd-dev/sbin/mount
pjd d2a8e58979 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
..
extern.h o __P removed 2002-03-21 13:14:21 +00:00
getmntopts.3 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
getmntopts.c Style change 2003-12-07 23:02:16 +00:00
Makefile style.Makefile: Add a '?' before '=' in WARNS. 2003-10-26 00:35:05 +00:00
mntopts.h Teach mount(8) about MNT_ACLS for the purposes of mount options and 2002-10-14 19:40:00 +00:00
mount_ufs.c Now that the kernel is able to load modules itself, 2002-08-03 16:03:21 +00:00
mount.8 Style(9) option sorting 2004-01-29 15:14:03 +00:00
mount.c Made use of MNT_USER flag and inform about user responsible for mount 2004-02-02 18:37:30 +00:00
pathnames.h Convert fsck and mount to using execvP to find fsck_foo and mount_foo. 2003-06-29 17:53:48 +00:00
vfslist.c Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00