summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-10pass the option string along as a 4th parameter, in cases canonical isMarc Espie
not all that matters (e.g., -fpie and friends)
2012-07-10nitMarc Espie
2012-07-10dd all kinds of funky tests for compile modeMarc Espie
2012-07-10- simplify the scheduler loop logic further, it is ridiculously simple nowGilles Chehade
and I don't think we can do much better (at that level) :-p - always break out of the handler after processing an envelope, this will avoid a busy scheduler from not getting a chance to handle SIGTERM/SIGINT YES we can now ctrl-c a maaaaad scheduler ! ok eric@, ok chl@
2012-07-10+limits.h.Nicholas Marriott
2012-07-10Once we've set up termios, lines need to be \r\n terminated, and we needNicholas Marriott
to reset termios before exiting. So add custom versions of err(), errx(), warn(), warnx() to handle this.
2012-07-10more config, sort stuff for easier spottingMarc Espie
2012-07-10move set prio/tos into OPTIONS; ok henningJason McIntyre
2012-07-10Try to cleanup the macro magic because of socket spliceing. Since structClaudio Jeker
socket is no longer affected by option SOCKET_SPLICE we can simplyfy the code. OK bluhm@
2012-07-10use PFSTATE_SCRUBMASKHenning Brauer
whenever you see (flags >= ONE_OF_THE_FLAGS), run. that must break sooner or later.
2012-07-10define a PFSTATE_SCRUBMASK. relying on numeric order of flags is stupidHenning Brauer
and bound to break sooner or later.
2012-07-10closefrom(STDERR_FILENO + 1) not STDOUT_FILENO so that output actually ↵Nicholas Marriott
appears ;-).
2012-07-10Allow an implicit address family for af-to rules. If the addressAlexander Bluhm
family can be determined by the "from" or "to" parameter in the matching part, it is no longer necessary to specify "inet" or "inet6" there. OK henning@ mikeb@
2012-07-10intermediate hack^Wugly "fix" to prevent spurious "scrub ()" printsHenning Brauer
+ XXX comment as reminder to clean this up for good
2012-07-10Better handling of servname in getaddrinfo_async. Do not necessarilyEric Faurot
fail if there is no entry for a given protocol. Fix issue reported by early testers.
2012-07-10set { ... } -> set ( ... )Henning Brauer
brought up by ryan, discussed with him and theo and they convinced me
2012-07-10Implement ~C.Nicholas Marriott
2012-07-10Restore termios and signal handlers before ~$ so ^C will kill child.Nicholas Marriott
2012-07-10in_scrubprefix needs the same netmask checking as in_addprefix (which wasClaudio Jeker
added in 1.40). This fixes a pathological case where in_scrubprefix would do the wrong thing. Found and reported by glebius@FreeBSD OK bluhm@
2012-07-10Add a ~S escape to change the speed interactively (not using ~s sinceNicholas Marriott
may want to use it for variables later).
2012-07-10Add first cut of replacement for tip/cu. Not linked to the build.Nicholas Marriott
Currently supports only -l and -s (no parity), no variables and ~., ~>, ~$, ~#, ~^Z, ~?. More to come. Tested by naddy, otto. ok miod deraadt
2012-07-10fix the last outstanding functionality difference i could find betweenDavid Gwynne
libexec and usr.sbin tftpd. libexec waitied around after finishing a wrq in case our ack for the last write from a client got lost. this does the same dance, or an arguably better version of it compared to libexec tftpd.
2012-07-10libexec/tftpd handled the case where we'd get an ack for the previousDavid Gwynne
block by flushing the data on the socket and waiting for a retransmit by timeout to occur. my stuff (usr.sbin/tftpd) had XXXs and failure in those places. this diff fixes that. this should address the problems that sthen and jcs have been having (and which i was finally able to reproduce here). it also avoids reusing the clients buffer to both send and recv frames. we recv onto the stack now so retry always sends what we originally built for the peer. tested by and ok jcs@ sthen@
2012-07-10Fix an outstanding debian bug: #658539lum
"looks good" kjell
2012-07-10Turn on systrace sandboxing of pre-auth sshd by default for new installsDamien Miller
by shipping a config that overrides the current UsePrivilegeSeparation=yes default. Make it easier to flip the default in the future by adding too. prodded markus@ feedback dtucker@ "get it in" deraadt@
2012-07-09fix -Tascii .Fd line breakingIngo Schwarze
and implement -Tman .Fd
2012-07-09#! stupid testMarc Espie
2012-07-09--config had better match more stupid shit.Marc Espie
should fix devel/avr
2012-07-09The linux emulation exit hook needs to be able to sleep, so call itPhilip Guenthe
before changing p_stat to SDEAD ok pirofti@
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt
in a fire. Start by removing the definitions, before we clean the headers later.
2012-07-09implement -Tman .Eo and .EcIngo Schwarze
2012-07-09OpenBSD has two kinds of developers ...Mike Larkin
ok beck@, guenther@ who deal with their own ... ok deraadt@ who deals with his own and sometimes others ...
2012-07-09longarg:Marc Espie
means longoption with a separate parameter, like for -Xcompiler (won't work as -Xcompiler=value)
2012-07-09syncTodd T. Fries
2012-07-09resolve conflictsStuart Henderson
2012-07-09NSD v3.2.11, ok phessler@Stuart Henderson
2012-07-09start ditching Getopt::Long, only LT::Mode::Link uses it, so make itMarc Espie
autoload only when absolutely required.
2012-07-09extend option parser a bit more: if we pass it a regexp, then we matchMarc Espie
that regexp. for permuted mode, expose the "future" arguments so we can tinker with them directly. Use that to support -Wc,* and -Xcompiler
2012-07-09support for -Wc,*,* and -Xcompiler $argMarc Espie
2012-07-09Fix typo in warning message.Lawrence Teo
ok mikeb sthen haesbaert henning
2012-07-09one more prio -> set prio; ok henningJason McIntyre
2012-07-09Implement -Tman .Bf.Ingo Schwarze
To get the spacing right, * avoid man(7) code line breaks at places where no spacing is allowed * allow spacing right after .Sm on * allow spacing after empty .Fl at the end of an input line
2012-07-09second fuckup in implicit detectionMarc Espie
2012-07-09more compat shit for libtool1/libtool2 schizophreniaMarc Espie
should fix print/pdflib found out by jasper@
2012-07-09update hid usage table to sync with latest specifcations and other *bsds.Yojiro Uo
ok derradt@
2012-07-09- introduce log_trace(TRACE_SCHEDULER, ...)Gilles Chehade
- simplify a tiny tiny bit the scheduler loop - no functional change (yet)
2012-07-09use short accessorMarc Espie
2012-07-09nitsMarc Espie
2012-07-09finally, also do accessors for short options. Turns out to be useful.Marc Espie
fix the array accessor...
2012-07-09a bit more scaffolding to distinguish between syntax errors during compilationMarc Espie
and non existent files (which is normal here).