Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther | |
ok miod@ millert@ | |||
2021-07-12 | Change the error reporting pattern throughout the tree when unveil | Bob Beck | |
fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion. Work done and verified by Ashton Fagg <ashton@fagg.id.au> ok deraadt@ semarie@ claudio@ | |||
2018-09-24 | unveil maildir, utmp, /tmp, and /dev. For the vast number of people | Theo de Raadt | |
using biff. | |||
2017-04-03 | check return from pread, don't divide -1 for count | Ted Unangst | |
2017-04-03 | use recallocarray() because the array contains data that can be observed | Theo de Raadt | |
2017-04-02 | Prefer pread() over lseek()+read() | Philip Guenther | |
open() only needs the mode argument if O_CREAT is present ok beck@ deraadt@ | |||
2016-04-02 | Use open(tty, O_WRONLY) + fdopen() instead of fopen(tty, "w") to | Todd C. Miller | |
keep stdio from opening with O_CREAT which would require pledge cpath. | |||
2015-10-12 | Call pledge(2) after initial getsockname(2) to avoid "inet" addition. | Masao Uebayashi | |
From & OK deraadt@ | |||
2015-10-10 | normalize a few more tame request orderings, to help review | Theo de Raadt | |
2015-10-09 | With nfs spool (fork + seteuid/setuid balony) support gone, it becomes | Theo de Raadt | |
possible to pledge "stdio rpath wpath tty proc" Noone uses this code anymore. This is a demonstration... | |||
2015-10-09 | remove NFS spool support; it stands in the way of pledge(2) | Theo de Raadt | |
2015-07-06 | Trim trailing whitespace from the comsat message before calling | Todd C. Miller | |
strtonum() to parse the offset since mail.local writes a trailing newline. Otherwise comsat just discards the message. OK deraadt@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
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) | |||
2012-12-04 | remove some unnecessary sys/param.h inclusions | Theo de Raadt | |
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 | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-08-17 | recv(2) returns a ssize_t, so match cc with it. | Ray Lai | |
st.st_mtime is a time_t, so match utmpmtime with it. Check for -1 instead of <0 for some system calls. Remove pointless casts. OK dhill@ and millert@ | |||
2005-11-15 | the third arg of read() is size_t, not int (cast fix) | Todd C. Miller | |
use UT_NAMESIZE more consistently from Andrey Matveev | |||
2004-09-16 | more signal flag races; ok miod@ | Otto Moerbeek | |
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2003-09-26 | free(NULL) allowed | Theo de Raadt | |
2003-09-25 | Fix typo in revision 1.29; deraadt@ OK | Todd C. Miller | |
2003-09-24 | realloc fixes; ho ok | Theo de Raadt | |
2003-06-19 | use fseeko; millert ok | 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. | |||
2002-09-06 | use socklen_t more; henning ok | Theo de Raadt | |
2002-08-22 | fix int overflow in statbf.st_size, from netbsd PR#17933 | Philipp Buehler | |
as by request from deraadt@ | |||
2002-07-03 | KNF | Theo de Raadt | |
2002-06-20 | fix patch; moritz@jodeit.org | Theo de Raadt | |
2002-06-19 | handle non-terminated things better; moritz@jodeit.org | Theo de Raadt | |
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-07 | kill more registers; | Mike Pechkin | |
millert@ ok | |||
2001-11-18 | Ensure SA_RESTART is not set on SIGALRM. With it set, the SIGALRM is not | Theo de Raadt | |
seen after a successful recv(). This affects some other programs too.. but turning off SA_RESTART requires SIGNIFICANT analysis -- not for the faint of heart. | |||
2001-11-17 | volatile sig_atomic_t | Theo de Raadt | |
2001-07-08 | -Wall | Theo de Raadt | |
2001-05-12 | strlcpy | Theo de Raadt | |
2001-01-28 | $OpenBSD$ | Niklas Hallqvist | |
2001-01-17 | use sig_atomic_t, and check for signal flag more often | Theo de Raadt | |
2001-01-11 | change signal handler to set a flag, and then in the main loop do | Theo de Raadt | |
the work that this handler used to do. many signal handlers in the tree should be changed to this, since a large percentage of them have raceable stuff in them; like mixing malloc's and stdio inside and outside the handler.. terrrible stuff | |||
2000-09-08 | Some miscellaneous man page repairs. | Aaron Campbell | |
1999-08-17 | More <sys/file.h> vs. <fcntl.h> and open() flags fixes. | Todd C. Miller | |
1999-06-23 | use sockaddr_storage | Theo de Raadt | |
1999-05-23 | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | Aaron Campbell | |
is used instead; kwesterback@home.com | |||
1999-02-21 | vis() buf overflow | Theo de Raadt | |
1998-07-13 | ftpd: sleep for an indeterminate amount for non-existant logins | Todd C. Miller | |
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there. | |||
1998-07-10 | do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling | Theo de Raadt | |
1997-11-20 | do not exit(-1) | Theo de Raadt | |
1997-08-05 | More errno saving. | Angelos D. Keromytis | |
1997-08-04 | save errno in sigchld handlers | Theo de Raadt | |