Age | Commit message (Collapse) | Author |
|
|
|
the default.
okay millert@
|
|
readlabelfs over it. This avoids a pledge abort due to the fact that the
ioctl DIOCGDINFO may not be allowed on the given file: mount /dev/tty /tmp.
ok benno
|
|
* check strdup for malloc failure
* remove obvious /* NOTREACHED */
* return instead of exit from main
* err(1, NULL) instead of err(1, "malloc")
* mark usage as __dead
ok deraadt
|
|
|
|
access can be locked down.
ok deraadt tb
|
|
patches from Sevan Janiyan <venture37 at geeklan dot co dot uk>;
verified using minnie.tuhs.org/cgi-bin/utree.pl
|
|
ok jmc (on an earlier version of the diff), tb (who found a typo) and deraadt
|
|
doing much, so i zapped it;
|
|
without root privileges. This is only the kernel/mount flag; additional
work in the build Makefile's will be necessary such that the files in
$DESTDIR are created with correct permissions.
tedu couldn't find anything wrong with it in a quick review
idea & ok deraadt
|
|
ok martijn@ deraadt@
|
|
|
|
|
|
ok deraadt
|
|
|
|
ok millert@
feedback/ok natano@
|
|
|
|
|
|
is generated, and mprotect/mmap return ENOTSUP. If the sysctl(8) flag
kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump
creation.
W^X violating programs can be permitted on a ffs/nfs filesystem-basis,
using the "wxallowed" mount option. One day far in the future
upstream software developers will understand that W^X violations are a
tremendously risky practice and that style of programming will be
banished outright. Until then, we recommend most users need to use the
wxallowed option on their /usr/local filesystem. At least your other
filesystems don't permit such programs.
ok jca kettenis mlarkin natano
|
|
|
|
for readable directories, while making it subject to the mask option
(-m in mount_msdos), so it is still possible to mount with
non-executable directories, but with semantics that are easier to
comprehend.
This makes directory listings with default mount options work again.
ok deraadt@
|
|
resistant against memory correctup, if a corrupt filesystem is given to them.
ok krw
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
ok guenther@
|
|
months that I broke it before the 5.5 release.
confirmed as not being required by ports by sthen@, ajacoutot@, dcoppa@
|
|
The child after fork() should use _exit() instead of exit().
Fix comment typo.
ok millert@
|
|
rather than adding "net" to the -o list, claudio points out that
-o net and -o noauto are really noops, so remove "noauto";
help/ok claudio
|
|
corresponding comment in Makefile;
ok claudio deraadt
|
|
File systems marked with net will not be mounted by default.
mount -a -N will mount all those file systems instead.
This will be used to mark file systems needing network to work -- in
other words which depend on iscsid.
"Get it in" deraadt@
|
|
BSD/OS compatibility.
ok deraadt@, miod@i, millert@
|
|
|
|
req. by krw@ millert@
|
|
discussed with and ok miod@
|
|
from f_mntfromname.
ok krw@
|
|
|
|
|
|
- dont error out in realpath() check if argv contains @ or : (ie, is
a nfs remote path)
- relax getfsspec() call so that it succeeds for nfs remote paths too,
not only for duid devices.
Now we behave like Linux & FreeBSD (at least)..
Prompted by a diff from giovanni@ for xfce4-mount
ok jsing@ krw@
|
|
Diff from Alexander Polakov.
ok phessler@
|
|
for chars.
|
|
While it is a terribly cool idea, it's just awful and since noone has stepped
up to the plate to keep it up with the current vop state, retire it to the
attic.
ok krw@, deraadt@, guenther@, miod@.
comments from jmc@
|
|
duid text was supplied by krw
...after much discussion with jsing and krw
ok krw
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
|
|
|
|
- keep the examples in this page and fstab(5) in sync
- give an equivalent fstab(5) entry to show how options are specified
these changes are necessary because of the differing ways we pass
options to mount.
while here, zap some .Tn
ok otto
|
|
Just print an error message and allow processing to continue. This
fixes 'mount -a' so it mounts all the filesystems it can rather than
skipping all fstab entries after a non-existant mount point.
This also brings us more into line with NetBSD and FreeBSD behaviour.
ok deraadt@ jsing@ millert@
|
|
- no need to document needing a config option when it is already enabled
by default in GENERIC
- move to format similar to "async"
- grammar tweak whilst here
agreed by miod (i think)
ok millert
|
|
- "async" and "softdep" are mutually exclusive (from simon)
- change the "no" example to sth potentially less confusing (and safer)
some feedback from millert
ok simon
|
|
ok jmc@
|
|
|