| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
than .Fn for it, it is documented sigblock(3) as noticed by jmc@;
some minor typo and punctuation cleanup while here;
OK jmc@
|
|
|
|
|
| |
found with regress/usr.bin/mandoc/db/dbm_dump;
OK jmc@
|
|
|
|
|
| |
based upon input being used unsafely (they are safe)
ok millert kettenis
|
|
|
|
| |
ok schwarze@
|
| |
|
| |
|
|
|
|
|
|
| |
according to POSIX. Bring regression test and kernel in line for
amd64 and i386. Other architectures have to follow.
OK deraadt@ kettenis@
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
Do the same in sendsyslog(2) and document the behavior.
reported by Ilja Van Sprundel; OK millert@ deraadt@
|
|
|
|
|
|
|
| |
longer tracks prefixes or default routers from router advertisements.
Pointed out by jmc.
ports tree grepping sthen, who only found nsh
OK mpi, sthen
|
|
|
|
| |
definite value in the size == 0 case
|
|
|
|
| |
ok jmc@ visa@
|
|
|
|
| |
what the reader is using.
|
|
|
|
| |
is not initialized. Problem spotted by Carlin Bingham; ok phessler@ tedu@
|
|
|
|
|
|
| |
prefix if the character following it is a valid hex char. The C99
standard is clear that given the string "0xy" zero should be returned
and endptr set to point to the "x". OK deraadt@ espie@
|
| |
|
|
|
|
| |
From Klemens Nanni
|
| |
|
|
|
|
|
|
|
|
| |
2. point to getline (suggested by nicm@)
3. cross reference fgetc(3) rather than putc(3)
4. add missing error handling to the example code
OK nicm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
and broken delimiter syntax; found with mandoc -Tlint
|
|
|
|
|
|
|
| |
when something went wrong. This allows to monitor whether the
system is under attack and that the attack has been prevented by
OpenBSD pledge(2).
OK deraadt@ millert@ jmc@
|
|
|
|
|
| |
These hints are not recognized by clang's builtin assembler.
From the corresponding amd64 change. ok visa@ kettenis@
|
|
|
|
|
| |
From FreeBSD via Jan Schreiber <jes at posteo ! de>, thanks!
OK tedu, bluhm
|
| |
|
| |
|
|
|
|
| |
insertion sort (when the number of elements is < 7).
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Previously they would be swapped a byte at a time when sizeof(int)
!= sizeof(long). Idea from FreeBSD.
|
|
|
|
| |
exceeds 2 lg N and add a reference to the introsort paper.
|
|
|
|
|
|
| |
when the recursion depth reaches 2*lg(n + 1). This avoids quicksort's
quadratic behavior for pathological input without appreciably
changing the average run time.
|
|
|
|
|
|
|
|
| |
side of the array being partitioned to save on stack space. Greater
savings can be gained by choosing recursion for the smaller side
of the partition and eliminating recursion for the larger side.
This also results in a small but measurable performance gain.
OK otto@ schwarze@
|
|
|
|
| |
From "fenderq" on freenode via tj@
|
|
|
|
|
| |
- document posix_memalign() does not play nice with reacallocarray(3) and
freezero(3)
|
|
|
|
|
| |
handling to be interative instead of recursive.
Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@
|
| |
|
|
|
|
|
| |
and document that handling of process group 0 is not specified by
the standard.
|
|
|
|
| |
process ID when negated.
|
|
|
|
| |
with the other pid-specific details.
|
|
|
|
| |
OK jmc@
|
|
|
|
|
| |
discarded by the kernel. Document that at least one pending signal
will be delivered before sigprocmask() returns.
|
|
|
|
|
|
| |
update their descriptions. In sysctl.8 refer to /etc/sysctl.conf in FILES.
discussed with and ok jmc
|
| |
|