Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Both syslog(3) and syslogd(8) truncate the message at 8192 bytes. | 2017-07-18 | 1 | -2/+7 | ||
| | | | | | Do the same in sendsyslog(2) and document the behavior. reported by Ilja Van Sprundel; OK millert@ deraadt@ | |||||
* | Get rid of ip6.maxifprefixes and ip6.maxifdefrouters, the kernel no | 2017-07-13 | 1 | -15/+2 | ||
| | | | | | | | longer tracks prefixes or default routers from router advertisements. Pointed out by jmc. ports tree grepping sthen, who only found nsh OK mpi, sthen | |||||
* | one more instance of the previous commit; also initialize ->offset to a | 2017-07-10 | 1 | -2/+3 | ||
| | | | | definite value in the size == 0 case | |||||
* | replace Fifos with FIFOs. | 2017-07-10 | 1 | -3/+3 | ||
| | | | | ok jmc@ visa@ | |||||
* | update the little endian processor list to give it a chance of matching | 2017-07-08 | 2 | -6/+6 | ||
| | | | | what the reader is using. | |||||
* | Only access offset if canaries are enabled *and* size > 0, otherwise offset | 2017-07-07 | 1 | -2/+2 | ||
| | | | | is not initialized. Problem spotted by Carlin Bingham; ok phessler@ tedu@ | |||||
* | The 0x (or 0X) prefix in base 16 is optional so only skip over the | 2017-07-06 | 6 | -18/+18 | ||
| | | | | | | 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@ | |||||
* | fix broken cross references; found with mandoc -Tlint | 2017-07-06 | 1 | -3/+3 | ||
| | ||||||
* | void functions don't return 0 | 2017-07-05 | 1 | -6/+2 | ||
| | | | | From Klemens Nanni | |||||
* | fix cross references to self; found with mandoc -Tlint | 2017-07-05 | 1 | -3/+3 | ||
| | ||||||
* | 1. mild deprecation notice | 2017-07-04 | 1 | -3/+11 | ||
| | | | | | | | | 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@ | |||||
* | port the RBT code to userland by making it part of libc. | 2017-06-19 | 6 | -13/+728 | ||
| | | | | | | | | | | | | | | 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@ | |||||
* | no need for branding in .Nd line | 2017-06-13 | 1 | -3/+3 | ||
| | ||||||
* | Add dprintf() and vdprintf() RETURN VALUES. OK deraadt@ | 2017-06-12 | 1 | -2/+4 | ||
| | ||||||
* | request -> promises; from scott cheloha | 2017-06-11 | 1 | -3/+3 | ||
| | ||||||
* | Fix broken markup of function pointer invocations; found | 2017-06-10 | 1 | -11/+6 | ||
| | | | | with mandoc -Tlint. While here, delete .Tn macros. | |||||
* | fix a sentence that used unusual terminology, the wrong macro, | 2017-06-10 | 1 | -5/+6 | ||
| | | | | and broken delimiter syntax; found with mandoc -Tlint | |||||
* | Add an acct(5) flag for pledge violations. Then lastcomm(1) shows | 2017-06-07 | 1 | -2/+12 | ||
| | | | | | | | 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@ | |||||
* | Remove branch prediction hint from conditional branch instruction. | 2017-06-01 | 1 | -2/+2 | ||
| | | | | | These hints are not recognized by clang's builtin assembler. From the corresponding amd64 change. ok visa@ kettenis@ | |||||
* | Add support for EV_RECEIPT and EV_DISPATCH flags | 2017-05-31 | 1 | -2/+17 | ||
| | | | | | From FreeBSD via Jan Schreiber <jes at posteo ! de>, thanks! OK tedu, bluhm | |||||
* | install futex(2), ok mpi | 2017-05-31 | 1 | -2/+2 | ||
| | ||||||
* | getrlimit is now allowed by "stdio" | 2017-05-30 | 1 | -2/+3 | ||
| | ||||||
* | Don't fall back to heapsort() if we would otherwise switch to | 2017-05-30 | 1 | -7/+7 | ||
| | | | | insertion sort (when the number of elements is < 7). | |||||
* | sort SEE ALSO; | 2017-05-29 | 1 | -2/+2 | ||
| | ||||||
* | sort SEE ALSO; | 2017-05-29 | 3 | -7/+7 | ||
| | ||||||
* | It is distasteful to have manual pages which don't refer to real | 2017-05-29 | 10 | -29/+35 | ||
| | | | | | | | 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 | |||||
* | move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ | 2017-05-27 | 1 | -13/+13 | ||
| | ||||||
* | Support swapping 32-bit aligned elements on 64-bit platforms. | 2017-05-24 | 1 | -22/+63 | ||
| | | | | | Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD. | |||||
* | Document that qsort falls back to heapsort() if the recursion depth | 2017-05-20 | 1 | -3/+13 | ||
| | | | | exceeds 2 lg N and add a reference to the introsort paper. | |||||
* | Use David Musser's introsort algorithm to fall back to heapsort(3) | 2017-05-20 | 3 | -16/+47 | ||
| | | | | | | 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. | |||||
* | The BSD qsort() performs tail recursion elimination on the second | 2017-05-17 | 1 | -10/+25 | ||
| | | | | | | | | 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@ | |||||
* | Typo: freezeo -> freezero | 2017-05-15 | 1 | -3/+3 | ||
| | | | | From "fenderq" on freenode via tj@ | |||||
* | - fix bug wrt posix_memalign(3) of blocks between half a page and a page | 2017-05-13 | 2 | -8/+18 | ||
| | | | | | - document posix_memalign() does not play nice with reacallocarray(3) and freezero(3) | |||||
* | Fix exponential CPU use with repeated '*' operators by changing '*' | 2017-05-08 | 1 | -21/+34 | ||
| | | | | | handling to be interative instead of recursive. Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@ | |||||
* | Update STANDARDS section, these are now in XSI BASE. | 2017-05-08 | 2 | -8/+10 | ||
| | ||||||
* | killpg() is covered by XSI so add a STANDARDS section to that effect | 2017-05-07 | 1 | -3/+12 | ||
| | | | | | and document that handling of process group 0 is not specified by the standard. | |||||
* | Don't allow a negative process group ID, it would turn into a | 2017-05-07 | 1 | -1/+1 | ||
| | | | | process ID when negated. | |||||
* | Move info about group handling via a negative pid into the list | 2017-05-06 | 1 | -9/+9 | ||
| | | | | with the other pid-specific details. | |||||
* | Document what happens when sending a signal to the calling process. | 2017-05-05 | 1 | -3/+20 | ||
| | | | | OK jmc@ | |||||
* | Mention that the signal mask does not affect what signals are | 2017-05-05 | 1 | -3/+18 | ||
| | | | | | discarded by the kernel. Document that at least one pending signal will be delivered before sigprocmask() returns. | |||||
* | Merge headers defining identifiers from sysctl.8 into sysctl.3. Shorten and | 2017-05-04 | 1 | -23/+28 | ||
| | | | | | | update their descriptions. In sysctl.8 refer to /etc/sysctl.conf in FILES. discussed with and ok jmc | |||||
* | make the description strings match the code | 2017-05-03 | 1 | -10/+10 | ||
| | ||||||
* | Document that wait3/waitpid can receive SIGCHILD when wpid does | 2017-05-01 | 1 | -3/+26 | ||
| | | | | | | | not exist or is not a child of the calling process. Document what happens when SIGCHLD is ignored or SA_NOCLDWAIT is set in sa_flags (this part from FreeBSD). OK guenther@ | |||||
* | Add futex(2) shim, bump minor. | 2017-04-30 | 3 | -2/+5 | ||
| | | | | Inputs from guenther@, ok kettenis@, visa@ | |||||
* | Reference the "Futexes Are Tricky" paper. | 2017-04-28 | 1 | -1/+7 | ||
| | | | | With schwarze@ | |||||
* | errant space; | 2017-04-28 | 1 | -2/+2 | ||
| | ||||||
* | Document futex(2) with a lot of inputs from schwarze@ | 2017-04-28 | 1 | -0/+134 | ||
| | ||||||
* | ntohl() returns uint32_t so it cannot be < 0. Since we're storing | 2017-04-27 | 1 | -2/+2 | ||
| | | | | the result in an int check for > INT_MAX instead. OK bluhm@ | |||||
* | Remove "len < 0" check; len is socklen_t (uint32_t) so can't be | 2017-04-27 | 1 | -2/+2 | ||
| | | | | negative. Quiets a warning from clang. OK bluhm@ | |||||
* | Rearrange text a bit to make it clear what "discarded" means; ok jmc@ deraadt@ | 2017-04-23 | 1 | -8/+13 | ||
| |