Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-27 | W^X violations are no longer permitted by default. A kernel log message | Theo de Raadt | |
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 | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
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) | |||
2014-05-21 | Use errc/warnc to simplify code. | Philip Guenther | |
ok jca@ krw@ | |||
2012-05-29 | Fix tyop in error message; this was copied from/to umount(8)'s umount.c ↵ | Jasper Lievisse Adriaanse | |
which was just fixed. | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
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 | |||
2009-05-12 | don't define _KERNEL. Theres no need and its gross. | Thordur I. Bjornsson | |
2006-11-10 | enable -g again | Alexander von Gernler | |
help from millert@, ok deraadt@ pedro@ | |||
2006-11-03 | storing return value of strtol() in int variable was not safe, | Alexander von Gernler | |
also strtol() result was not checked for under/overflow thus, rewrite getopt switch/cases with strtonum() and sensible bounds help from mickey@ millert@, ok millert@, no objections otto@ | |||
2006-07-28 | permit synchronous mounts | Nikolay Sturm | |
ok pedro | |||
2005-06-29 | ignore (but still accept) -D and -L | Jared Yanovich | |
(and other minor cleaning while here: sync usage, whitespace, fix error messages) ok millert | |||
2005-04-08 | Sync with recent realpath(3) changes: on failure, don't use the second | Jared Yanovich | |
argument "resolved", since it is undefined. ok and help millert, otto | |||
2004-09-15 | Restore correct noac option parsing. | Miod Vallat | |
ok otto@ | |||
2004-08-20 | Unbreak processing of options when given a command line with multiple | Otto Moerbeek | |
-o options. All of them are relevant, not only the last one. ok miod@ claudio@ marius@ | |||
2004-07-16 | remove netiso traces, millert deraadt ok | Henning Brauer | |
2004-06-22 | Rewrite of getmntopts(), making it more robust and getting rid of | Otto Moerbeek | |
the mount_nfs alternative implementation of the same function. Joint work with millert@. Fixes PR 3642. ok pedro@ millert@ | |||
2004-05-18 | Backout changes accidentally committed in prvious commit. | Otto Moerbeek | |
2004-05-18 | Trailers are really wonders of the past. Remove them from man page and | Otto Moerbeek | |
usage. ok millert@ | |||
2003-10-07 | add support for modifying attribute cache parameters | Henning Brauer | |
inspired by PR2567, the included diff was wrong tho and not used here manpage from millert@ ok millert@ on code and jmc@ on manpage | |||
2003-07-29 | spaces | Theo de Raadt | |
2003-07-06 | error out on hostspec overflow with a "hostname too long" instead of silently | Anil Madhavapeddy | |
truncating; deraadt@ ok | |||
2003-07-03 | use realpath() in helpers instead of doing it ourselves every time. | Ted Unangst | |
also fixes pr1662. from otto moerbeek | |||
2003-06-11 | ansification | Theo de Raadt | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-29 | Fix parsing of noac option; noticed and OK by henning@ | Todd C. Miller | |
2002-06-09 | rm trailing whitespace | Todd T. Fries | |
2002-03-21 | o sync usage() to man page | Todd C. Miller | |
o -l does not require an argument o getopt() returns -1 not EOF From Brian Poole | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-12-01 | remove unused variables | Theo de Raadt | |
2001-11-05 | kill more registers; | Mike Pechkin | |
millert@ ok | |||
2001-10-03 | Remove all traces of Kerberised NFS; it never worked in OpenBSD, but it | Hans Insulander | |
has been in the userland tools and the manpages for ages. Spotted by Lars Hansson <lars@unet.net.ph> Ok deraadt@ | |||
2001-07-13 | Add noac flag to disable attribute caching | Constantine Sapuntzakis | |
2001-07-07 | major -Wall cleanup, almost complete | Theo de Raadt | |
2001-07-07 | Initialize missing parts of struct nfs_args nfsdefargs | Todd C. Miller | |
2001-06-24 | Get rid of NQNFS options | Constantine Sapuntzakis | |
2001-05-11 | use strlcpy instead of strncpy+a[len-1]='\0' | Michael Shalayeff | |
2000-06-30 | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | Todd C. Miller | |
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | |||
1999-06-17 | go back to UDP mounts by default until NFS/TCP is fixed | Todd C. Miller | |
1999-05-31 | Use connection-oriented transport (ie: TCP) when possible. This makes | Todd C. Miller | |
the default trasport for NFSV3 be TCP like most other OS's. | |||
1998-05-16 | call pmap_getport() with correct proto; tron | Theo de Raadt | |
1997-11-11 | use nfsproto variable; tron@lyssa.owl.de | Theo de Raadt | |
1997-08-20 | Print "Filesystem not supported by kernel" not "Operation not supported by | Todd C. Miller | |
device" (EOPNOTSUPP) so the real problem is obvious. Idea from Peter Seebach <seebs@taniemarie.solon.com>. | |||
1997-08-18 | #include <string.h> not <strings.h> -- Yes, I'm a weanie... | Todd C. Miller | |
1997-06-29 | new location of des.h | Niels Provos | |
1997-06-25 | (foo *)0 -> NULL | kstailey | |
1997-04-20 | support for -o port=N; provos | Theo de Raadt | |
1996-12-12 | i studdderr wheenn i tyttype | Theo de Raadt | |
1996-12-12 | cannot use err() here | Theo de Raadt | |
1996-05-28 | Be stricter when checking NQNFS and version combinations | Theo de Raadt | |
1996-05-08 | Clarified warning messages a bit | Niklas Hallqvist | |
1996-04-21 | sync to netbsd 960418 | Theo de Raadt | |