History log of /openbsd-src/lib/libc/net/rcmd.c (Results 1 – 25 of 63)
Revision Date Author Comments
# 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()


# 83dc3a58 30-Aug-2015 guenther <guenther@openbsd.org>

Use nanosleep instead of sleep to avoid the extra layer and simplify later
symbol hiding

ok w/tweak deraadt@


# e12686f2 22-Mar-2015 halex <halex@openbsd.org>

differentiate between a failed read, returning -1, and encountering
end-of-file, returning 0, in order not to print an unrelated
strerror(errno) in the latter case

ok millert@


# 0791ac16 22-Mar-2015 halex <halex@openbsd.org>

unmute rcmd hostname lookup failure

ok millert@ jung@


# 4d066c79 19-Mar-2015 halex <halex@openbsd.org>

zap #if 0'd code that's been dead since '96

ok todd@


# 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


# b510a672 10-Oct-2014 dlg <dlg@openbsd.org>

replace select with equiv poll usage.

looks good deraadt@
tweaks and ok millert@


# 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 ...


# bb14a393 17-Sep-2007 moritz <moritz@openbsd.org>

Check snprintf(3) return value for error or truncation.
Mostly path construction, where truncation could be bad.

ok and input from deraadt@ millert@ ray@


# 7581b1cc 31-Mar-2006 deraadt <deraadt@openbsd.org>

oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);
is not valid code; found by lint


# 0038de2c 06-Aug-2005 espie <espie@openbsd.org>

zap rcsid.
split functions off res_debug.c so that getnetnamadr.c does not pull it
all when it's used.

okay deraadt@, krw@


# db5b349c 25-Mar-2005 otto <otto@openbsd.org>

ansify. ok deraadt@ moritz@


# f8ab9db3 08-Mar-2005 deraadt <deraadt@openbsd.org>

do not trash errno before using it, do not pass garbage args to getnameinfo
ok henning andrushock@korovino.net


# 02cf1ae2 07-Mar-2005 deraadt <deraadt@openbsd.org>

fd leak; andrushock@korovino.net


# b5abfabe 17-Nov-2004 itojun <itojun@openbsd.org>

remove NI_WITHSCOPEID (which is not standard)


# 5998e66f 25-Sep-2003 millert <millert@openbsd.org>

Do check for current pointer vs. buffer end before touching any
elements in the buffer. Fixes an out of bounds access.
From aaron@; OK deraadt@


# fe9c916f 11-Jul-2003 deraadt <deraadt@openbsd.org>

license oops; from tedu


# a3d2d11b 03-Jun-2003 deraadt <deraadt@openbsd.org>

fix various 3/4 licenses according to "terms" file


# 74fe8e6b 15-Dec-2002 henning <henning@openbsd.org>

more writeable -> writable by torh


# e62fa231 06-Sep-2002 deraadt <deraadt@openbsd.org>

use socklen_t where needed; henning pvalchev ok


# 5af14704 24-May-2002 deraadt <deraadt@openbsd.org>

try to use strlcpy and snprintf more; ok various


# f27f4495 22-May-2002 deraadt <deraadt@openbsd.org>

more strlcpy and snprintf


# f3c3a9c6 17-Feb-2002 millert <millert@openbsd.org>

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 9a7fa6a3 04-Sep-2001 millert <millert@openbsd.org>

Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.


123