Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | We should only call need_resched() if the priority is lower than the | 2012-07-10 | 1 | -2/+4 | ||
| | | | | | | | | | | | | | | | priority of the current running process. In amd64 a call to need_resched() sends an IPI to the other cpu. This fixes aja@ problem where he would move the mouse and see 60000 IPIs being sent. Thanks to mikeb@ for bringing that subject up tuesday. Actually found this after inquiring guenther@ about some changes in mi_switch(). ok guenther@ aja@ | |||||
* | Add a subtest to the MTU ping that checks wether the ip length of | 2012-07-10 | 3 | -13/+27 | ||
| | | | | the original packet and the icmp quoted packet are the same. | |||||
* | ouch, Rresolved and libsearchdirs no longer live in main, so make them | 2012-07-10 | 5 | -34/+59 | ||
| | | | | | | part of $gp as they should be... Oh, and create an actual linker object for later. | |||||
* | accept address literal for the recipient domain. | 2012-07-10 | 2 | -6/+27 | ||
| | | | | | | | | while there, change valid_{local,domain}part() prototypes to use const char *. with input from gilles@ and eric@ ok gilles@ eric@ | |||||
* | simplify the code, improve error handling and plug a potential fd leak on error | 2012-07-10 | 1 | -71/+101 | ||
| | ||||||
* | Ooops. A debug printf sneaked in. Sorry about that. | 2012-07-10 | 1 | -2/+1 | ||
| | ||||||
* | Place declarations for internal radix functions inside radix.c, stop | 2012-07-10 | 2 | -7/+9 | ||
| | | | | | | exporting them to the outside world via radix.h. ok claudio@ sthen@ henning@ | |||||
* | move some shit around to (more or less) where it belongs | 2012-07-10 | 3 | -8/+12 | ||
| | ||||||
* | More wraping and style. | 2012-07-10 | 1 | -11/+22 | ||
| | ||||||
* | Remove a hack that was intended for groff-1.15 bug compatibility: | 2012-07-10 | 3 | -15/+7 | ||
| | | | | | | | When the width of a tag in .Bl -hang was exactly one character shorter than the maximum length that would fit, the following text would have a negative hang of one character (i.e., hang to the left). That bug is no longer present in groff-1.21, so relax mandoc, too. | |||||
* | Wrap | 2012-07-10 | 1 | -6/+11 | ||
| | ||||||
* | fix pexp | 2012-07-10 | 1 | -2/+2 | ||
| | | | | ok robert@ | |||||
* | fix regexp in pexp | 2012-07-10 | 1 | -2/+2 | ||
| | | | | ok robert@ | |||||
* | * implement -Tman .Bl -item -inset -diag -ohang -dash -hyphen -enum .It | 2012-07-10 | 15 | -26/+630 | ||
| | | | | | | | | | | * fix -Tman .Bl -bullet .It * adjust the -Tascii .Bl -bullet -dash -hyphen .It default and minimum width to new groff standards, it changed from 4n (in groff 1.15) to 2n (in groff 1.21) * same for -Tascii -enum, it changed from 5n to 2n * use -hang formatting for -Tascii -enum -width 2n * for -Tascii -enum, the default is -width 3n | |||||
* | since disklabel -W is no more, zap it from all the install.md's | 2012-07-10 | 20 | -40/+20 | ||
| | | | | ok krw@ | |||||
* | Rename "life" to "lifetime" to match iked. | 2012-07-10 | 9 | -49/+74 | ||
| | | | | ok mikeb naddy sthen; procedures ok henning | |||||
* | bye-bye Getopt::Long | 2012-07-10 | 4 | -82/+75 | ||
| | ||||||
* | Fix usage. | 2012-07-10 | 1 | -2/+3 | ||
| | ||||||
* | disable lidsuspend on shutdown | 2012-07-10 | 1 | -1/+18 | ||
| | | | | ok phessler@ mpf@ pirofti@ mpi@ | |||||
* | make pkill -l print the proper processes also when the invert (-v) | 2012-07-10 | 1 | -7/+4 | ||
| | | | | | | flag is passed ok lum@ | |||||
* | Add ~R command to start recording output to a file. | 2012-07-10 | 4 | -4/+35 | ||
| | ||||||
* | Kill trailing whitespaces. | 2012-07-10 | 18 | -19/+19 | ||
| | ||||||
* | Add a test suite to route ip packets through a box running pf. You | 2012-07-10 | 3 | -0/+239 | ||
| | | | | | | | | have to setup four machines manually as described in the makefile. The test uses netcat and scapy to send ping or udp echo packets or tcp streams along the routers. It analyzes the returned reply or icmp error packets. It tests the forward and net/rdr and net64 paths. | |||||
* | use the value actually passed to the function | 2012-07-10 | 1 | -2/+2 | ||
| | ||||||
* | clean-up shit, pull some of LT::Util into ltconfig object | 2012-07-10 | 6 | -51/+82 | ||
| | | | | make that a somewhat more "real" object... | |||||
* | Use function to restore termios and add ~X to help. | 2012-07-10 | 2 | -6/+5 | ||
| | ||||||
* | Trim some unused externs. | 2012-07-10 | 1 | -3/+1 | ||
| | ||||||
* | xfree is not particularly helpful, remove it. From Thomas Adam. | 2012-07-10 | 73 | -433/+402 | ||
| | ||||||
* | Instead of <arpa/inet.h> pulling in <netinet/in.h>, just copy in the | 2012-07-10 | 3 | -4/+31 | ||
| | | | | | | | three things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN, and struct in_addr. Add protecting #ifndefs to netinet6?/in6?.h for those. ok deraadt@ | |||||
* | Stop pulling in <sys/param.h> | 2012-07-10 | 1 | -7/+2 | ||
| | | | | ok deraadt@ | |||||
* | bsearch() doesn't belong here (it's in <stdlib.h>) | 2012-07-10 | 1 | -4/+2 | ||
| | | | | | | Add __restrict bits for tdelete() ok deraadt@ | |||||
* | For setsockopt(SO_{SND,RCV}TIMEO), convert the timeval to ticks using | 2012-07-10 | 1 | -6/+4 | ||
| | | | | | | tvtohz() so that the rounding is correct and we don't time out a tick early ok claudio@ | |||||
* | Add builtin XMODEM send support with ~X, only tested with lrz -X so far. | 2012-07-10 | 5 | -5/+205 | ||
| | ||||||
* | full support for -static -shared -prefer-pic -prefer-non-pic -fpie* | 2012-07-10 | 2 | -15/+42 | ||
| | | | | in --mode=compile | |||||
* | pass the option string along as a 4th parameter, in cases canonical is | 2012-07-10 | 1 | -12/+12 | ||
| | | | | not all that matters (e.g., -fpie and friends) | |||||
* | nit | 2012-07-10 | 1 | -2/+2 | ||
| | ||||||
* | dd all kinds of funky tests for compile mode | 2012-07-10 | 1 | -5/+93 | ||
| | ||||||
* | - simplify the scheduler loop logic further, it is ridiculously simple now | 2012-07-10 | 3 | -49/+32 | ||
| | | | | | | | | | 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@ | |||||
* | +limits.h. | 2012-07-10 | 1 | -1/+2 | ||
| | ||||||
* | Once we've set up termios, lines need to be \r\n terminated, and we need | 2012-07-10 | 6 | -28/+117 | ||
| | | | | | to reset termios before exiting. So add custom versions of err(), errx(), warn(), warnx() to handle this. | |||||
* | more config, sort stuff for easier spotting | 2012-07-10 | 2 | -5/+8 | ||
| | ||||||
* | move set prio/tos into OPTIONS; ok henning | 2012-07-10 | 1 | -48/+47 | ||
| | ||||||
* | Try to cleanup the macro magic because of socket spliceing. Since struct | 2012-07-10 | 2 | -28/+17 | ||
| | | | | | socket is no longer affected by option SOCKET_SPLICE we can simplyfy the code. OK bluhm@ | |||||
* | use PFSTATE_SCRUBMASK | 2012-07-10 | 1 | -4/+2 | ||
| | | | | | whenever you see (flags >= ONE_OF_THE_FLAGS), run. that must break sooner or later. | |||||
* | define a PFSTATE_SCRUBMASK. relying on numeric order of flags is stupid | 2012-07-10 | 1 | -1/+2 | ||
| | | | | and bound to break sooner or later. | |||||
* | closefrom(STDERR_FILENO + 1) not STDOUT_FILENO so that output actually appears ;-). | 2012-07-10 | 1 | -3/+3 | ||
| | ||||||
* | Allow an implicit address family for af-to rules. If the address | 2012-07-10 | 1 | -14/+6 | ||
| | | | | | | | 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@ | |||||
* | intermediate hack^Wugly "fix" to prevent spurious "scrub ()" prints | 2012-07-10 | 1 | -2/+4 | ||
| | | | | + XXX comment as reminder to clean this up for good | |||||
* | Better handling of servname in getaddrinfo_async. Do not necessarily | 2012-07-10 | 1 | -11/+16 | ||
| | | | | | fail if there is no entry for a given protocol. Fix issue reported by early testers. | |||||
* | set { ... } -> set ( ... ) | 2012-07-10 | 2 | -5/+5 | ||
| | | | | brought up by ryan, discussed with him and theo and they convinced me |