Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-20 | Now that we have dup2(), csh can use it instead of close()+dup(). | Philip Guenther | |
Also, as used here, dup/dup2 will clear the close-on-exec flag, so delete the superfluous fcntl(F_SETFD,0) calls ok deraadt@ | |||
2024-07-28 | block SIGHUP in the same places where SIGCHLD is blocked to protect | Theo de Raadt | |
the process lists, because the SIGHUP handler looks at them (and it is very difficult to rewrite the that handler a different way) ok millert | |||
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2016-03-19 | Turn off the close-on-exec bit with fcntl() instead of ioctl(). | Kenneth R Westerback | |
Remove some now useless "#include <ioctl.h>" lines. Inspired by & ok millert@ | |||
2015-12-26 | Replace handrolled xfree() function by directly using free(3) | mestre | |
OK mmcc@ | |||
2015-10-26 | miscellaneous cruft: | Christian Weisgerber | |
* remove lint * unifdef S_IFLNK, S_ISFIFO, S_ISLNK, S_ISSOCK, O_APPEND * remove 0, NOTUSED, notdef -- untouched since original import * remove IIASA | |||
2015-02-08 | delete lots of unnecessary ptr_t casts, and drop a little NULL in as well | Ted Unangst | |
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) | |||
2010-08-12 | Use symbolic names for the file descriptors rather than numeric values. | Kevin Lo | |
Some from damien@, millert@ ok phessler@, millert@ | |||
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 | |||
2003-06-11 | de-register and ansify functions | 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-15 | remove final call to Strcpy/s_strcpy; some help from tedu | Theo de Raadt | |
2003-01-08 | bring in strlcpy and strlcat-like things for dealing with Char types, | Theo de Raadt | |
this fixes at least 15 buffer overflows; some help from dhartmei. Anyone want to go do the same in ksh, and help with some of the while (*s++ = *p++) loops in here? | |||
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
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 | KNF | Theo de Raadt | |
2001-06-22 | mark signal races, and remove junk | Theo de Raadt | |
2001-05-11 | use strlcpy instead of strncpy+a[len-1]='\0' | Michael Shalayeff | |
1998-08-26 | do not *NULL -- i think this patch is right | Theo de Raadt | |
1998-05-18 | MAXPATHLEN not MAXPATHLEN+1 | Theo de Raadt | |
1997-07-25 | #if __STDC__ --> #ifdef __STDC__ | Michael Shalayeff | |
1997-07-23 | tabify | kstailey | |
1996-06-23 | update rcsid | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |