#
2c53affb |
| 27-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
|
#
df69c215 |
| 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 ...
|
#
df1557eb |
| 23-May-2016 |
guenther <guenther@openbsd.org> |
Remove iruserok(_sa)? and __ivaliduser(sa)?
ok millert@ deraadt@
|
#
e3b47d8e |
| 23-May-2016 |
guenther <guenther@openbsd.org> |
Eliminate __check_rhosts_file and __rcmd_errstr: they were only used by rlogind and rshd (remember them?)
ok deraadt@
|
#
8bcf3129 |
| 25-Nov-2015 |
deraadt <deraadt@openbsd.org> |
syslog() here is pointless; ok millert
|
#
cd245bca |
| 24-Nov-2015 |
millert <millert@openbsd.org> |
Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for
Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@
show more ...
|
#
a9f15adb |
| 04-Oct-2015 |
guenther <guenther@openbsd.org> |
wrap __ivaliduser_sa() so the internal call is direct (at least until we stop exporting it)
|
#
0e3c6306 |
| 12-Sep-2015 |
guenther <guenther@openbsd.org> |
Wrap <unistd.h> so that internal calls go direct and they're all weak symbols Delete unused 'fd' argument from internal function oldttyname()
|
#
9b6be490 |
| 16-Jan-2015 |
millert <millert@openbsd.org> |
Replace check for ">= HOST_NAME_MAX+1" with "> HOST_NAME_MAX". OK deraadt@
|
#
aea60bee |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther
|
#
241db059 |
| 15-Sep-2014 |
guenther <guenther@openbsd.org> |
When fopen()ing internal to libc (the API doesn't support the use of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec.
ok miod@
|
#
dfe5467e |
| 24-Nov-2013 |
deraadt <deraadt@openbsd.org> |
most obvious unsigned char casts for ctype ok jca krw ingo
|
#
69245ebd |
| 30-Sep-2013 |
millert <millert@openbsd.org> |
Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN, MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
|
#
23599751 |
| 18-Nov-2009 |
guenther <guenther@openbsd.org> |
More shrinkage, a bit for ramdisks but mostly for static binaries: - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to
More shrinkage, a bit for ramdisks but mostly for static binaries: - wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it
(The profit of analysis of -Wl,-M,--cref output)
Chops 888kB from /bin and /sbin on i386
ok deraadt@, miod@
show more ...
|