Age | Commit message (Collapse) | Author |
|
|
|
|
|
requires that, too (in XBD 7.3.1), even though the C standard
leaves it implementation-defined;
found during my kcgi audit on behalf of CAPEM;
OK deraadt (stupid me forgot to commit before lock).
|
|
code. Adapted from a diff by Ross L Richardson.
|
|
havoc all over the place. So add some casts to silence the compiler.
ok deraadt@ guenther@
|
|
Theo already clamped down on these devices last year.
Triggered by a question from Nan Xiao <xiaonan830818 at gmail dot com>.
OK deraadt@
|
|
cancellation points in POSIX, so change them to invoke the non-cancellation
point versions of open(), close(), nanosleep(), and write()
ok deraadt@ millert@
|
|
|
|
Prompted by Nan Xiao noticing the redundancy of bzero+termination - thanks.
ok deraadt@
|
|
Riding previous libc bump.
ok kettenis@
|
|
Complete in the sense that all POSIX *locale(3) and *_l(3) functions
are included, but in OpenBSD, we of course only really care about
LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@.
Repeated testing in ports bulk builds by naddy@.
Additional testing by jca@, sebastia@, dcoppa@, and others.
OK kettenis@ dcoppa@, and guenther@ on an earlier version.
Riding guenther@'s libc/librthread major bump.
|
|
ok jca@ kettenis@ deraadt@
|
|
to low when they are actually numbered in the opposite (numerical)
order. Use "ordered by decreasing importance" instead. Also try
to make it clear that LOG_UPTO uses the numerical priorities where
a larger value means a lower priority. OK jmc@
|
|
OK espie@
|
|
ok tedu@
|
|
We know when pltime or vltime decrease to zero. Run nd6_expire then.
Input & OK mpi, bluhm
|
|
truncate the length of a syslog message to 8192 bytes. Use one
global define LOG_MAXLINE for all of them.
OK deraadt@ millert@
|
|
conp in syslog(3) is unused. Remove dead code.
OK jca@ deraadt@
|
|
found with regress/usr.bin/mandoc/db/dbm_dump;
OK jmc@
|
|
Change FMT_SIZE to 1024+1 for consistency. Do not loop over the
format string if there is no output space left.
OK deraadt@ millert@
|
|
longer tracks prefixes or default routers from router advertisements.
Pointed out by jmc.
ports tree grepping sthen, who only found nsh
OK mpi, sthen
|
|
|
|
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with
annotations for symbol visibility. changes to one should be reflected
in the other.
the malloc debug code that uses RB code is ported to RBT.
because libc provides the RBT code, procmap doesn't have to reach into
the kernel and build subr_tree.c itself now.
mild enthusiasm from many
ok guenther@
|
|
with mandoc -Tlint. While here, delete .Tn macros.
|
|
function calls, but instead a "class" of functions like "sigsetops".
Rename to sigaddset", and while at it improve documentation in sigprocmask(2)
to point to it.
ok tedu
|
|
handling to be interative instead of recursive.
Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@
|
|
|
|
update their descriptions. In sysctl.8 refer to /etc/sysctl.conf in FILES.
discussed with and ok jmc
|
|
|
|
|
|
around in the address space. Don't bother doing so for the buffer
which contains aslr'd pointers...
ok millert
|
|
|
|
|
|
- remove some XXX i no longer need
|
|
includes some fixes from schwarze, as well as some general tweaking;
ok deraadt schwarze
|
|
As reported by Yuri Pankov, some versions of GCC whine that "tmp"
might be used uninitialized in fts_open(3). Clearly, that cannot
actually happen, but explicitly setting it to NULL is safer anyway.
While here, rename the badly named variable "tmp" and make the
inner "if" easier to understand.
Feedback and OK guenther@
|
|
ok tom@
|
|
closedir() outside the loop. OK deraadt@ guenther@ markus@
|
|
Previously, syslog_r() would avoid calling strerror() since the latter
is not reentrant. OK bluhm@
|
|
SIGTTOU it means the process is not in the foreground process group
which, in most cases, means that the shell has taken control of the
tty. Requiring the user the fg the process in this case doesn't
make sense and can result in both SIGTSTP and SIGTTOU being sent
which can lead to the process being suspended again immediately
after being brought into the foreground.
|
|
|
|
all dns socket connections will be redirected to localhost:port.
this could be a sockopt on the listening socket, but sysctl is
an easier interface to work with right now.
ok deraadt
|
|
|
|
|
|
OK guenther@
|
|
|
|
or prototypes. Ditto for some of the char* and void* casts too.
verified no change to instructions on ILP32 (i386) and LP64 (amd64)
ok natano@ abluhm@ deraadt@ millert@
|
|
|
|
|
|
|