freebsd-dev/sbin
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
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol Cosmetics 2004-01-21 21:31:19 +00:00
atm Add support for virtual interfaces. These have no phy chip and, hence, we 2004-01-26 12:17:49 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel '-DPC98' is not needed. 2004-01-11 09:11:10 +00:00
camcontrol Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
ccdconfig Try to catch up with device name changes due to GEOM'ification. Remove 2003-12-08 10:50:36 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol /etc/rc.serial -> /etc/rc.d/serial. 2003-12-23 07:16:38 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
devd Parse the ! lines that will soon be coming from the kernel. These are 2003-10-24 22:02:29 +00:00
devfs Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
dhclient Update maintainer line. mbr has been maintainer for at least the last 2003-11-30 21:09:58 +00:00
dmesg Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
dump Add RSH to the list of enviroment variables. 2004-01-15 12:13:54 +00:00
dumpfs Reinstate 1.40 -- swap avgfilesize and avgfpdir column order. 2003-12-07 05:27:27 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Add the Solaris x86 boot partition type. This is used in Solaris 10 2003-12-18 13:13:02 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo Clarify behaviour of ffsinfo: It appends to outfile without 2004-01-23 05:13:22 +00:00
fsck Use __printflike() and __dead2 instead of hard-coded gccisms. 2003-12-27 13:54:02 +00:00
fsck_ffs Avoid dereferencing null pointers in fsck_ffs. (pfatal may return, 2004-01-26 15:05:30 +00:00
fsck_msdosfs Oops, highly non-KNF indentation is normal for large expressions in 2003-12-28 01:30:31 +00:00
fsdb Make this WARNS=2 clean by 2003-11-13 19:08:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Clarify that the encrypted device is called foo.bde and mention that 2003-11-27 20:54:51 +00:00
gpt - Add GPT header/table recovery command 2003-11-16 06:45:26 +00:00
growfs Fix bogus "ffsinfo -c 0" example with "ffsinfo -g 0 -l 4". 2004-01-23 17:35:09 +00:00
idmapd Bring in manpage for idmapd and change domain to @FreeBSD.org. 2003-11-22 02:16:53 +00:00
ifconfig Use memcpy plus a manual NUL termination when copying the interface name 2004-01-31 22:59:03 +00:00
init Fix the case where one goes from zero to more than zero items enabled 2003-12-05 04:28:03 +00:00
ip6fw When calculating the sequence number to use in an ip6fw reset, remember to 2003-12-25 23:39:44 +00:00
ipf Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfw o Pass a correct argument to errx(3). 2004-01-24 19:20:09 +00:00
ipmon Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipnat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
kldconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Describe the pattern filenames must be in before they are added to the hints 2003-05-08 17:25:41 +00:00
mca o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Set exit code to 1 in case at least one of the input files 2003-11-02 23:12:08 +00:00
mdconfig Note that geometry can also be specified on vnode backed deviecs. 2004-01-12 10:54:09 +00:00
mdmfs Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mknod Document that mknod(8) can be used to undelete entries under devfs. 2003-12-29 00:37:52 +00:00
mksnap_ffs Style nit in previous commit. 2004-01-27 19:28:13 +00:00
mount Made use of MNT_USER flag and inform about user responsible for mount 2004-02-02 18:37:30 +00:00
mount_cd9660 Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_ext2fs Make this WARNS=2 clean by 2003-11-13 19:18:43 +00:00
mount_hpfs MAXPATHLEN includes the trailing NUL, so no need to add 1 here. 2003-08-07 04:50:29 +00:00
mount_msdosfs Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_nfs mdoc(7): There cannot be a subsection inside a list. 2003-09-10 08:24:33 +00:00
mount_nfs4 Cleanup manpage for mount_nfs4 (make it actually refer to nfs4 options). 2003-11-22 02:18:30 +00:00
mount_ntfs Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_nullfs Correct an instance of an erroneous "it's". 2004-01-07 23:31:22 +00:00
mount_std Reduce fstab(5)/mount(8) confusion by changing the man pages to say "ro" 2003-10-22 18:25:49 +00:00
mount_udf Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
mount_umapfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
mount_unionfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
natd Add Cisco Skinny Station protocol support to libalias, natd, and ppp. 2003-09-23 07:41:55 +00:00
newfs Fix whitespace error in previous commit. 2003-11-27 01:19:23 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Correct a grammatical error. 2003-08-12 20:01:10 +00:00
nologin Remove the BUGS section introduced in rev 1.11 now that the problem 2003-11-17 06:39:54 +00:00
nos-tun 64 bit fixes. in_addr_t is an uint32_t, not a u_long. 2003-10-26 04:37:57 +00:00
ping mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
ping6 Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
quotacheck Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
raidctl Get rid of duplicates. 2003-09-14 13:41:59 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Fix gcc warnings. If NAME_MAX is 255, and d_namlen is a uint8_t, then 2003-10-26 04:43:02 +00:00
route link-local multicast address must be converted to KAME specific 2003-12-07 11:11:26 +00:00
routed Removed duplicate $FreeBSD$ tag. 2004-01-29 14:36:16 +00:00
rtsol -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
savecore Revision 1.61 changed the allocation of buffer 'buf' in DoFile() from 2003-10-08 07:37:11 +00:00
sconfig Mark this manpage as i386-only. 2004-01-21 13:24:38 +00:00
setkey enable aes-xcbc-mac and aes-ctr, again. 2003-11-10 10:39:14 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach Change this: 2003-01-08 06:43:27 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Spell "disklabel" correctly. 2004-02-01 13:09:26 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl Alphabetization braino. 2003-11-07 21:28:29 +00:00
tunefs Remove another reference to ffsinfo.8 2003-06-17 22:47:11 +00:00
umount Don't include the file system ID in the output of `mount -v' if it 2003-12-05 09:22:40 +00:00
vinum Add an entry to the BUGS section indicating that Vinum cannot currently 2003-11-17 16:04:52 +00:00
Makefile Fixed spacing in previous revision. 2004-01-17 00:31:38 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00