#
d9a51c35 |
| 26-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
#
515e489c |
| 03-Jul-2019 |
deraadt <deraadt@openbsd.org> |
snprintf/vsnprintf return < 0 on error, rather than -1.
|
#
3aaa63eb |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary 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.
show more ...
|
#
053c2ed3 |
| 17-Jun-2018 |
deraadt <deraadt@openbsd.org> |
use size_t
|
#
472dffbc |
| 17-Jun-2018 |
deraadt <deraadt@openbsd.org> |
incorrect pointer used, hence gecos expansion was ignored ok millert
|
#
149d0f06 |
| 26-Dec-2015 |
guenther <guenther@openbsd.org> |
Use pread/pwrite instead separate lseek+read/write for lastlog. Cast to off_t before multiplication to avoid truncation on ILP32
ok kettenis@ mmcc@
|
#
cfff592f |
| 20-Aug-2015 |
deraadt <deraadt@openbsd.org> |
Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope ok krw millert
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
show more ...
|
#
90934534 |
| 19-Nov-2014 |
millert <millert@openbsd.org> |
Use stravis() instead of a custom() strvis + mallocarray wrapper. OK tedu@ tobias@
|
#
5376bb5a |
| 18-Nov-2014 |
krw <krw@openbsd.org> |
Nuke more obvious #include duplications.
ok deraadt@ millert@ tedu@
|
#
bd0fe39d |
| 17-Oct-2014 |
millert <millert@openbsd.org> |
Instead of doing strvis() of gecos string on output, do it when storing them in struct person since they are only used for output. Uses reallocarray() for overflow detection. OK deraadt@
|
#
da0d029e |
| 17-Oct-2014 |
millert <millert@openbsd.org> |
Use strlcpy() instead of strncpy() when making a copy of pw_gecos.
|
#
50bd0a99 |
| 17-Oct-2014 |
doug <doug@openbsd.org> |
strvis() requires that the buffer is at least 4 * srclen + 1.
ok deraadt@
|
#
6cd4fad2 |
| 26-Nov-2013 |
deraadt <deraadt@openbsd.org> |
unsigned char casts for ctype ok krw
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 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
show more ...
|
#
4ad2aca7 |
| 23-Aug-2005 |
espie <espie@openbsd.org> |
use vis() consistently in field printing.
Replace vs() with a version that logs its memory usage, so that it can be cleaned up after each entry.
okay millert@, delegated by deraadt@
|
#
c74d5eda |
| 15-Mar-2005 |
niallo <niallo@openbsd.org> |
change some silly snprintf(buf, buflen, "%s", login) calls to just use strlcpy(buf, login, buflen)
ok otto@ henning@
|
#
523b9b38 |
| 15-Mar-2004 |
tedu <tedu@openbsd.org> |
Wall, commons, little knf
|
#
6ff29e28 |
| 02-Jul-2003 |
deraadt <deraadt@openbsd.org> |
protos
|
#
33148c53 |
| 25-Jun-2003 |
deraadt <deraadt@openbsd.org> |
delete junk protos
|
#
1837a5ca |
| 10-Jun-2003 |
deraadt <deraadt@openbsd.org> |
mostly ansi cleanup; pval ok
|
#
f75387cb |
| 03-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
d4fadeec |
| 15-Jan-2001 |
deraadt <deraadt@openbsd.org> |
typo
|
#
3acd51ae |
| 15-Jan-2001 |
deraadt <deraadt@openbsd.org> |
oops
|
#
8a217654 |
| 10-Jan-2001 |
deraadt <deraadt@openbsd.org> |
error out for strdup() failures
|