Age | Commit message (Collapse) | Author |
|
From Igor Zinovik; thanks!
ok millert@
|
|
instead, .It is required. Thus, move .Pp and text before the .Bl,
and remove the .Pp altogether where it is not needed.
Syntax errors found by mandoc(1), also required to fix the mandoc build;
feedback and ok jmc@, and sobrado@ also supports the direction.
|
|
syntax errors found by mandoc(1), also required to fix the mandoc build;
feedback and ok jmc@ and sobrado@
|
|
syntax errors found by mandoc(1), also required to fix the mandoc build;
ok jmc@
|
|
jmc@ deraadt@ ok
|
|
from userland since April 2003 and, of course, the manual page is
not built either.
see miod@'s change in r1.66 of src/lib/libc/sys/Makefile.inc.
i would like to acknowledge the excellent advice from jmc@ and
fgsch@ with relation to this change.
ok miod@
|
|
|
|
completes the changes from Oct 22.
|
|
1) Distinguish normal end of data (like eof, YPERR_NOMORE, YPERR_KEY)
from error conditions.
2) Save errno(2) and restore it in case of success, as suggested by deraadt@
and beck@.
While this code is touched,
* move the common code for the yp_first and yp_next calls after the
respective if/else-block; note that free(data) is not needed in case of
failure and that __ypcurrent = NULL does no harm after failing yp_first.
* return 0, not NULL: the return value of grscan is int, not a pointer.
This is the last part of the work done on getgrent.c during c2k9,
heavily relying on the other improvements done at that time.
This has been rotting in my tree far too long.
"get it in" deraadt@; also lightly tested by simon@ some time ago
|
|
arc4random() is slow, but it induces getpid() calls; also saves a
bit on stirring efforts
|
|
Document that snprintf/vsnprintf/syslog_r() aren't async-signal-safe
for floating-point
Provide cursory documentation of SIGTHR
Eliminate the NOTE section of the sigaction(2) manpage by merging the
good bits into the STANDARDS section
ok deraadt@
|
|
doesn't test it, so factor out the two places that test it into a
routine and do the refreshing there. With this, arch4random_buf()
doesn't trigger superfluous calls to getpid() when filling large
buffers.
ok deraadt@, "looks nicer indeed" otto@
|
|
Bug found while auditing the same complaint by parfait,
see the previous commit; still not shutting parfait up.
"wow, that's nasty" deraadt@
|
|
ok deraadt@
|
|
When exceeding fd 1024, this bug cleared flag bits for all file descriptors
except those <= 64.
Found while auditing a (false positive) complaint by parfait.
This bugfix does not shut parfait up, though.
OK millert@ deraadt@
|
|
them; allows userland with stack beyond 2GB to run.
|
|
ok millert
|
|
actual kernel page size.
|
|
from trhodes@freebsd, r200095;
|
|
|
|
Guenther; ok jmc
|
|
macros for them. Avoids walking the lists and greatly enhances speed
of freeing chunks in reverse or random order at the cost of a little
space. Suggested by Fabien Romano and Jonathan Armani; ok djm@
|
|
catch the libc major bump per request from deraadt@
Diff by reyk.
ok guenther@
|
|
from Fabien Romano and Jonathan Armani
|
|
Armani
|
|
and suspension.
"get it in" deraadt@, tedu@, cheers by others
|
|
(rthreads, MB_LEN_MAX, rdomains)
|
|
"Reads ok" mk@
|
|
"syntax looks good" guenther@
|
|
|
|
(If anyone can suggest a translation for e.g. `breakpoint' that doesn't
make me cringe, let me know.)
|
|
Pointed out by Alan Bueno and jmc@
ok jmc@
|
|
feedback & ok otto@
|
|
Provide C and Pig locale expansions for errno values from EAUTH to ENOTSUP
ok millert@, mk@, go aheads from others who have other translations
in the works
|
|
ok guenther (no word from the sunshine girls on the matter, though)
|
|
ok millert@
|
|
ok deraadt@
|
|
ok guenther@
|
|
|
|
to 'narrow' as they should.
"looks correct" millert@ "makes sense" blambert@
|
|
- 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@
|
|
of a false positive made by parfait; ok millert
|
|
ok blambert@ miod@ deraadt@
|
|
|
|
ok espie
|
|
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
committing on behalf of and okay guenther@ now that we have install
media space available.
|
|
ok deraadt
|
|
was breaking non GNUC defining compilers.
Came up during a conversation with ragge@, positive
comments from several.
|
|
noticed by Jonathan Armani & Fabien Romano
ugh+ok otto@
|
|
referencing it by name; silences a linker warning; no functional change.
|