Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-29 | Verify that the section header size supplied in the ELF header is what | mmcc | |
we expect it to be. This prevents out-of-bounds access or excessive memory allocation on a malformed ELF header. Found by Serguey Parkhomovsky with AFL. Improved by and ok kettenis@ | |||
2015-12-29 | Add transpose-words, ok jasper@. | Mark Lumsden | |
Limited to one iteration until 'undo' is looked into. | |||
2015-12-29 | Replace single pattern case-blocks with simpler code. | Robert Peichaer | |
OK halex@ | |||
2015-12-29 | Remove backslash, not necessary after '&&' | Robert Peichaer | |
OK halex@ | |||
2015-12-29 | Replace last remaining `` with $() | Robert Peichaer | |
OK halex@ | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
from jsg@ | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
OK tb@ jsg@ | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
OK tb@ jsg@ | |||
2015-12-29 | Tweak previous by de-indenting label and replacing remaining continues | mmcc | |
with gotos. supported by kettenis@, ok sobrado@ | |||
2015-12-29 | Don't assume fprintf() will set the FILE * error condition. | Todd C. Miller | |
Instead, check the return value of fprintf() and fflush() and call clearerr() before returning on error. OK jca@ | |||
2015-12-29 | mention that ibuf_free() does not need a NULL check. | Sebastian Benoit | |
2015-12-29 | check for NULL in ibuf_free(). | Sebastian Benoit | |
ok and slight improvement, mmcco@ ok semarie@ and encouragement tedu@ krw@ | |||
2015-12-29 | Change send_line() return value to be 1/0 like get_responses() and | Todd C. Miller | |
check the return value in the callers. The inital value of inheaders has been changed to improve readability. OK gilles@ jung@ | |||
2015-12-29 | When running syslogd in debug mode, use a callback to print the | Alexander Bluhm | |
libevent messages. Before the code was removed from libevent, the library itself printed that to stderr. OK nicm@ | |||
2015-12-29 | shuffle tx code slightly and mark bge_start as mpsafe. | David Gwynne | |
reviewed by jmatthew@ ok kettenis@ | |||
2015-12-29 | store curcpu() in ifq_serializer so we can check it. | David Gwynne | |
this in turn gives us ifq_is_serialized() and an IFQ_ASSERT_SERIALIZED() macro. ok mpi@ | |||
2015-12-29 | Change patterns in case-blocks from a*|A* to [aA]* | Robert Peichaer | |
OK halex@ krw@ | |||
2015-12-29 | Set UltraDMA transfer mode. Some (early?) SATA drives, such as the Maxtor | Mark Kettenis | |
7Y250M0, refuse to do DMA unless the transfer mode has been set. This causes reads (and presumably writes) to time out. Unlike the wdc code, this only sets the UltraDMA transfer mode. If we ever want to support ancient PATA drivers through the atascsi layer, we probably need to set the PIO and/or MWDMA transfer modes as well. ok jmatthew@, dlg@) | |||
2015-12-29 | Remove NULL-checks before free(). | mmcc | |
ok tb@ | |||
2015-12-29 | Remove reference to $ERRNO, which was been unimplemented for >= 19 | mmcc | |
years. From Michael Reed. ok halex@ | |||
2015-12-28 | The last of the e-mail -> email. | mmcc | |
2015-12-28 | Remove NULL-checks before free() and needless argument casts. | mmcc | |
ok tb@ | |||
2015-12-28 | Replace lseek/[read|write] with pread|pwrite. | Kenneth R Westerback | |
ok millert@ a while ago. | |||
2015-12-28 | Remove NULL-checks before free() and unnecessary argument casts. | mmcc | |
ok tb@ | |||
2015-12-28 | 1. Add a loop_end label to the outer loop | mmcc | |
2. Replace a continue statement in an inner loop with goto loop_end This fixes a simple logical bug found with Coccinelle. ok kettenis@ | |||
2015-12-28 | remove spaces after '!' | Joerg Jung | |
no binary change ok millert | |||
2015-12-28 | Remove NULL-checks before free() and a few related dead assignments. | mmcc | |
ok and valuable input from millert@ | |||
2015-12-28 | Build most of games/ with -Werror-implicit-function-declaration. | tb | |
Prompted by benno's addition of the flag to most of usr.sbin/. ok benno@ | |||
2015-12-28 | build mopd with -Werror-implicit-function-declaration | Sebastian Benoit | |
ok tb@ | |||
2015-12-28 | build all lpr tools with -Werror-implicit-function-declaration | Sebastian Benoit | |
ok tb@ | |||
2015-12-28 | Switch login(3) from lseek+read/write to pread/pwrite and only do the pread() | Philip Guenther | |
if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia. Fix cast in offset calculation; delete register keyword; prefer memset() over bzero() ok millert@ | |||
2015-12-28 | fprintf() may not set the error indicator on failure so just use | Todd C. Miller | |
fputs() + putc() to write the string and trailing newline. OK jung@ | |||
2015-12-28 | Remove description of circular queues and add a small blurb about | Todd C. Miller | |
XOR simple queues. | |||
2015-12-28 | Use err() instead of custom perr() function. Also applied by nvi2 | Todd C. Miller | |
upstream. From Martijn van Duren. | |||
2015-12-28 | realloc and free's behavior when passed NULL is defined by C89, so we | mmcc | |
can safely assume it. ok millert@. Also discussed with deraadt@, sthen@, and espie@. | |||
2015-12-28 | - no need to insist on EFISYS partitions on non-root disks. | Robert Peichaer | |
- prevent autoinstall loop OK krw@ | |||
2015-12-28 | remove unused copy argument from addarg() | Joerg Jung | |
diff from Serguey Parkhomovsky via tech@ ok sunil millert | |||
2015-12-28 | initialize pointer to avoid undefined free on failure | Brent Cook | |
ok beck@ | |||
2015-12-28 | include time.h over sys/time.h for ctime(3) | Brent Cook | |
ok beck@ | |||
2015-12-28 | Couple of trivial style nits. | Nicholas Marriott | |
2015-12-28 | build smtpd and smtpctl with -Werror-implicit-function-declaration | Sebastian Benoit | |
ok tedu@ | |||
2015-12-28 | build most of usr.sbin with -Werror-implicit-function-declaration | Sebastian Benoit | |
ok florian@ | |||
2015-12-28 | update the us army democracy excerpt to more closely | Jason McIntyre | |
match the format of the original; from andre smagin | |||
2015-12-28 | andy finkel confimed himself as the originator of the rigged demo quote; | Jason McIntyre | |
from netbsd pr 49451 | |||
2015-12-28 | Rework re_start and re_txeof to only check the producer/consumer ring | Jonathan Matthew | |
positions when deciding how much work to do, and to adjust rl_tx_free with atomic operations; split the flag that indicates whether we're using timer based interrupts or not out into a separate field so it can be changed from interrupt context without needing a lock; take the kernel lock when calling re_init and re_start from interrupt context; add an interrupt barrier in re_stop; and finally mark the interrupt handler as mpsafe. started by Jim Smith a while ago, mostly finished up at n2k15 tested by dlg@, chris@ and Dimitris Papastamos on various hardware ok dlg@ | |||
2015-12-28 | use ulmin when looking at uio_resid to prevent wrapping around. | Ted Unangst | |
from Martin Natano (and also reported by Stefan Kempf) | |||
2015-12-27 | set sensor type later on init | Joerg Jung | |
2015-12-27 | fold for loops back into a wait function in a similar manner as acpiec does | Joerg Jung | |
2015-12-27 | Use 'standard' gpt_chk_mbr() to check for protective MBR. | Kenneth R Westerback | |
2015-12-27 | rename kbdled to backlight and mention chip model in comment | Joerg Jung | |