| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
OK schwarze@
|
|
|
|
|
|
| |
as readlink() will tell you that more cheaply.
ok millert@
|
|
|
|
| |
Recommend POSIX getline(3) instead.
|
|
|
|
| |
to determine the length instead of doing it manually. OK schwarze@
|
|
|
|
|
|
| |
even though ferror(3) is already set;
also from Andrey Chernov <ache at freebsd dot org>;
OK millert@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
| |
and failed (setting errno and ferror(3)) both at the same time.
That's a bad idea in general, and here in particular since
returning partial lines was neither reliable (sometimes, you
got NULL anyway) nor predictable (almost always, the line would
be truncated long before the actual read error).
Instead, on read failure, fail properly and always return NULL.
Issue found in a discussion with Andrey Chernov <ache at freebsd dot org>
who finally agreed to move FreeBSD into the same direction.
The fix is joint work with and OK by millert@.
|
|
|
|
|
| |
from Andrey Chernov <ache at freebsd dot org>;
OK millert@
|
|
|
|
| |
OK jca@ martijn@ millert@
|
| |
|
| |
|
|
|
|
| |
Reported by & similar diff by guenther@ some time ago, ok eric@
|
|
|
|
| |
returning EINTR. OK jung@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Over time we can repair software which performs this non-standard behaviour,
and fix bugs along the way. Let's first find out how bad the situation is
by deploying this in snapshots.
This type of logging is possible because OpenBSD syslog_r(3) -> sendsyslog(2)
is side-effect free enough to be used in the bowels of libc.
ok tedu
|
| |
|
|
|
|
|
|
| |
functions out the way of the main body;
ok guenther
|
|
|
|
|
|
| |
Merge the manual pages and call them deprecated there.
ok and manpage tweak jmc@, ok natano@
|
|
|
|
|
|
| |
remove some references to differences between versions 6 and 7.
ok jmc, millert, tedu
|
| |
|
|
|
|
|
|
|
| |
are no longer needed by ld.so. Move them to the m88k-specific list, as
it hasn't made the jump.
ok deraadt@
|
|
|
|
|
| |
ERRORS and into a new second paragraph. Adapted from NetBSD.
OK deraadt@ jmc@
|
| |
|
|
|
|
|
|
|
| |
Switch from calling obsolete sig{block,setmask} to directly using the
sigprocmask syscall.
ok deraadt@ kettenis@
|
|
|
|
|
|
|
| |
Eliminate pointless use of PIC_SYM()
Split out DEFS.h from SYS.h like some other archs
ok kettenis@ deraadt@
|
|
|
|
|
|
|
|
| |
* Add missing .Dv, .Ev, and .Fa macros.
* Delete deprecated .Tn macros.
* Mark up global variable names with .Va, not with .Fa or .Li.
* Mark up config file commands with .Ic, not with .Fa.
* Fix HISTORY, trivial to verify from the CSRG archive CD.
|
|
|
|
|
|
| |
resolver(3).
OK jmc@
|
| |
|
|
|
|
|
|
| |
go direct instead of through the PLT.
ok millert@ kettenis@
|
|
|
|
|
|
|
|
| |
swapping between two syn caches for random reseeding anyway, this
feature can be added easily. When the cache is empty, there is an
opportunity to change the hash size. This allows an admin under
SYN flood attack to defend his machine.
Suggested by claudio@; OK jung@ claudio@ jmc@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok deraadt
|
|
|
|
| |
Adapted from text from tcsetattr(3).
|
|
|
|
|
| |
with a little help from jmc@ for the man page bits
ok jca@ and a reluctant tedu@
|
|
|
|
| |
bug catching and ok millert@
|
|
|
|
|
|
|
| |
contains -g by default anyway
problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com)
ok millert@ kettenis@ deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
| |
it splits PLEDGE_FATTR in two ("fattr" stills grant the 2 flags, so no functional changes):
- PLEDGE_CHOWN : to be able to call *chown(2) syscalls
- PLEDGE_FATTR : the rest
it introduces "chown" which grant:
- PLEDGE_CHOWN : be able to call *chown(2)
- PLEDGE_CHOWNUID : be able to modifying owner/group
ok deraadt@ tedu@
|
| |
|
|
|
|
| |
chunk rnd), rm P: is default
|
| |
|
|
|
|
|
|
| |
one path. When the list is empty (contain only a NULL pointer), return
EINVAL instead of pretending to succeed, which will cause a NULL pointer
deference in a later fts_read() call. From FreeBSD.
|
|
|
|
|
|
| |
entries) and net.inet.ip.arpdown (expire timer for unresolved entries)
ok mpi@
|
|
|
|
|
|
| |
is empty. Otherwise, programs using fts(3) will report an error
if one of the paths is empty instead of just treating it as a
non-existent file. OK guenther@
|
|
|
|
|
|
| |
from henning petersen, netbsd pr lib/51284
ok semarie
|
|
|
|
|
|
| |
double unmap and I experienced a much more unstable firefox.
discussed with otto on icb
|