HardenedBSD/sbin/mount_ifs
Mike Pritchard d48b626da3 Do not allow the caller to specify the same path for the special
device file and the mount point.  This prevents the "unexpected recursive
lock" panic from happening.

This is a temporary fix.  A kernel fix would be much much more ugly than
this, and still wouldn't be the "right" way to fix it.  After some
of Terry's file system rework is installed, it will be possible to
properly fix this problem in a clean manner.  Until then,
this change should prevent use from getting a problem report
on this every month or so (and I just noticed that someone in
one of the freebsd news groups was complaining about this problem, too).
1996-03-10 00:20:28 +00:00
..
getmntopts.3
getmntopts.c
Makefile
mntopts.h The changes for adding the "noauto" option were mostly wrong. MNT_NOAUTO 1995-08-26 05:39:53 +00:00
mount_ufs.c Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mount.8 Another round of various man page cleanups. 1996-02-09 17:25:57 +00:00
mount.c Do not allow the caller to specify the same path for the special 1996-03-10 00:20:28 +00:00
pathnames.h