summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-09stale prototypeTed Unangst
2014-07-09Make comments readable.Joel Sing
2014-07-09More KNF.Joel Sing
2014-07-09KNF.Joel Sing
2014-07-09do locatedb as part of the build processMarc Espie
"works for me" deraadt@
2014-07-09zap trailing whitespace;Jason McIntyre
2014-07-09tweak previous;Jason McIntyre
2014-07-09reduce obvious dependency on global g_pool by moving to local aliasesTed Unangst
ok otto
2014-07-09ocsp_check_ids says "If algoritm mismatch let caller deal with it" beforeTed Unangst
returning 2. The one and only caller doesn't check for that, so... Stop returning it. ok miod
2014-07-09Do you know what horrors lie beyond that wall?Ted Unangst
No. Then you go first.
2014-07-09"mkstr was intended for the limited architecture of the PDP 11 family."Ted Unangst
Time moves on, memory gets cheaper. There's no need for mkstr or xstr. ok deraadt
2014-07-09Merge memory leak fix from NetBSD's dir.c revision 1.20, but actuallyTobias Stoeckmann
release all reserved memory chunks in all error cases. with input by and ok tedu@, ok deraadt@
2014-07-09Add ffs routine needed for upcoming octhci interrupt routine.Paul Irofti
Okay miod@
2014-07-09Minor cleanupsMatthew Dempsky
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier namespace. KNF nit: return value expressions should be surrounded by parentheses, per style(9). Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and requires under XSI) that terminated child processes not leave zombies if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave SIGCHLD set to SIG_IGN.
2014-07-09autoconf(9) is your friend and it knows you more than you think. ItMartin Pieuchot
even knows your children! So let him handle the seperation correctly. Do not rewrite your own custom config_detach_children(9) and as a bonus start removing the usbd_port tentacles from the stack. ok pirofti@, yuo@, miod@, deraadt@
2014-07-09Better workaround for OS X sigaltstack() bugMatthew Dempsky
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even if SS_DISABLE is specified in ss_flags. Rather than add code to try to cope with this stupidity, just don't bother restoring the original signal stack.
2014-07-09sort out the MLINKS mess, and tweak previous a bit;Jason McIntyre
2014-07-09Update to match the current state of crypto/rand, and remove MLINKS forMiod Vallat
RAND_event and RAND_screen.
2014-07-09Sync x11/gnome with reality.Antoine Jacoutot
2014-07-09Remove mention that the PRNG needs to be seeded before invoking someMiod Vallat
functions.
2014-07-09oops, stripped a / too manyMarc Espie
2014-07-09Unifdef -UPKCS_TESTVECT - we don't want the random data used in OAEP paddingMiod Vallat
to get overwritten by a known value, ever.
2014-07-09rephrase the stpcpy() warningChristian Weisgerber
new wording agreed by at least kettenis@ millert@ otto@
2014-07-09The "tag" keyword in redirections has been renamed to "pftag".Reyk Floeter
2014-07-09{malloc,reallocarray} + memset(,0,) -> callocMiod Vallat
ok tedu@
2014-07-09Clean up after arc4random u_int32_t uint32_t changeBob Beck
ok jsing@
2014-07-09changes to improve portabilitybcook
ok beck@ deraadt@ jsing@ guenther@
2014-07-09Replace memset(a, 0, ...); free(a); by explicit_bzero(a, ...); free(a); inMiod Vallat
fear a smartass-optimizing compiler decides memset is useless immediately before free(). ok jsing@ deraadt@ tedu@
2014-07-09Update and extend the regress tests to use the new grammar of theReyk Floeter
filtering rules. Some of the filenames are based on the old grammar, we keep them for now and just update the contents to have a before/after comparison of the features. Most of the work was done by Andre de Oliveira (andre@) OK bluhm@ benno@
2014-07-09Update the default relayd.conf with the new filtering grammar.Reyk Floeter
OK benno@
2014-07-09Replace the protocol directives for HTTP with a new generic filteringReyk Floeter
language. The grammar is inspired by pf and allows to write versatile last-matching filter rules in protocol sections starting with the "pass", "block" or "match" keywords. This work was started almost two years ago and replaces large parts of relayd(8)'s HTTP and filtering code. The initial version reimplements and extends HTTP filtering, but will be improved to support generic TCP and other protocols later. With some testing, feedback, and help from benno@ and andre@. OK benno@
2014-07-09Use the correct rf revision number for AR2425 radios. When read fromStefan Sperling
hardware the revision is zero. Linux also hardcodes this value. ok reyk
2014-07-09CPUF_PARK check was placed improperly in the previous commit.Mike Larkin
2014-07-09Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to beMiod Vallat
more friendly to systems where the underscore flavours may be defined as empty. Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
2014-07-09miod@ fixed the "bug" so remove reference to it in the man pod^Wpage.Joel Sing
2014-07-09generate a locatedb while making release.Marc Espie
input and okay deraadt@
2014-07-09Now that the stack handles properly the xhci(4) way of setting anMartin Pieuchot
address, kill some no longer true comments and create a proper function to assign an address. For the moment, an address is assigned when setting up a slot for a new device.
2014-07-09Adds an optional bus function to set the address of a new device andMartin Pieuchot
explicitly set it when required. Right now xhci(4) does not need such function because it assigns addresses when the first pipe of a device is opened. ok yuo@, pirofti@
2014-07-09use explicit_bzero for stack and freed variablesTed Unangst
2014-07-09spellingTed Unangst
2014-07-09I hate eval. Apart from when it's really needed.Alexander Hall
Eval'ing constant expressions is not such a case. "...fine with me" krw@
2014-07-09Kill unused route storages.Martin Pieuchot
blambert@, henning@, lteo@
2014-07-09We do have icmp_data; no obj change.Florian Obser
OK benno@
2014-07-09We do have ICMP_MASKREQ & ICMP_MASKREPLY; no obj change.Florian Obser
OK benno@
2014-07-09notdef is notdef since the beginning of time; no obj change.Florian Obser
OK benno@
2014-07-09We do have SIGINFO; no obj change.Florian Obser
OK benno@
2014-07-09We do have IP_OPTIONS; no obj change.Florian Obser
OK benno@
2014-07-09add <sys/filio.h> header for FIONBIObcook
ok beck@
2014-07-09Print sizeof() value and size_t variable with %zu rather than %zd.Kenneth R Westerback
2014-07-09Minor cleanups in wording in some comments and printfs, and added someMike Larkin
dprintfs to help debugging in the field (disabled by default)