summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-07-11first go at a manpageDavid Gwynne
2012-07-11fix getopt to not eat tDavid Gwynne
2012-07-11-t pftag doesnt do anything, trim the getopt side of it until i get to it.David Gwynne
2012-07-11manpage is comingDavid Gwynne
2012-07-11bring in a persistent event driven tftp-proxy to replace the libexecDavid Gwynne
one run out of inetd. the libexec tftp-proxy had the same problems as the libexec tftpd, in that it didnt scale as well as we needed. it also had a bunch of interesting races with states and addresses on sockets. manpage is coming. ok deraadt@ sthen@ henning@ matthew@
2012-07-11Report ptrace(PT_{GET,SET}XMMREGS) by namePhilip Guenthe
ok otto@
2012-07-11Disable SSLv2 in OpenSSL. No objections from djm.Stuart Henderson
Brad, jasper and naddy helped with test builds, fixing ports, etc.
2012-07-11for now, restrict hibernate to root in the acpi ioctl kernel interface.Mike Larkin
normal rules for controlling this interface through apmd still apply. ok deraadt@
2012-07-11catch off-by-one errors in stpncpy(); ok guenther@Christian Weisgerber
2012-07-11fix an off-by-one error where the return value would point to theChristian Weisgerber
character after the '\0'; ok guenther@
2012-07-11Unbreak the tree for gcc2 arches.Peter Hessler
Instead of having no limit for some arrays, limit them to the number of acceptable options. pointed out by miod@
2012-07-11cleanup offset argument in default_print_* functions, pointed out by Mike SmallStuart Henderson
ok theo
2012-07-11Simplify guts and calling of getuint(). Eliminate a useless 'help'Kenneth R Westerback
capablity by using help text as regular prompt for 'size' and 'offset'. Try to detect and handle more overflow/underflow conditions in getuint() and ensure returned value is always within requested bounds. Handle zero-length partitions by treating them as UNUSED. tested & ok halex@
2012-07-11add uvm_swap_check_range to scan for contig free space at end of swap.Mike Larkin
will be needed shortly for hibernate. ok deraadt@
2012-07-11Limit "while(setsockopt(..SO_RCVBUF/SO_SNDBUF..))" loops to prevent themStuart Henderson
running away if the setsockopt call fails, as may happen if a peer bounces at the wrong time. OK claudio@ after tweaks to an earlier version which was OK phessler@.
2012-07-11thinkoMarc Espie
2012-07-11Now that socket timeouts don't return early, fix the regress to matchPhilip Guenthe
2012-07-11sem_timedwait() needs the struct timespec tag to be pre-declared here.Philip Guenthe
Add restrict qualifiers.
2012-07-11check that linking with X11 will work, we'll check later exactly whatMarc Espie
we want there.
2012-07-11exit1(EXIT_THREAD) needs to call single_thread_check() so that itPhilip Guenthe
can be suspended and/or decrement pr->ps_singlecount if necessary. With that added, the call the other direction needs to use its own flag (EXIT_THREAD_NOCHECK) to avoid looping. problem diagnosed from a hang naddy@ hit; ok kettenis@
2012-07-11fix bug for real. Turns out some libraries (xcb...) have NEEDED that goMarc Espie
to standard ldconfig search dirs... Of course, ld complains because it doesn't have them in its standard search dir. BUT there's an option -rpath-link designed just for that (look up needed objects during compile and trust the end result to find them). So use that for ldconfig directories... so that xcb can link without needing to go have a look at the NEEDED list, but without encoding standard rpaths in the resulting binary... Also, put all the junk that needs -Wl together so we can add one single -Wl,-rpath,foo,-rpath-link,foo2 thingy...
2012-07-11do the ldconfig search dir properlyMarc Espie
2012-07-11nit: bless object early so we can use methods on itMarc Espie
2012-07-11reoder letters to fix piles-o'-typosPhilip Guenthe
2012-07-11Don't skip pipe, kqueue, crypto, or systrace files in pstat -f outputPhilip Guenthe
Also, cast to long to make printf formatting portable with help from matthew; ok deraadt@
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
2012-07-11Separate total block counter (reported to user) from 8-bit block counterNicholas Marriott
put into the header, pointed out by naddy.
2012-07-10backout the:Charles Longeau
- remove the /envelopes subdirectory, envelopes are at the same level than the message file - kill PATH_ENVELOPES define but keep the: - reduce the number of buckets from 0xfff to 0xff, this avoid performances of the queue to decrease when we start having tons of buckets ok eric@ gilles@
2012-07-10In a scalar context, mkstemp should return just the file handlePhilip Guenthe
"sure" espie@
2012-07-10basic implementation of -Tman .Bl -tagIngo Schwarze
while here, do some minor outflags cleanup
2012-07-10multiple fixes to -Tascii .HP rendering:Ingo Schwarze
* do not add an excessive blank line before the block * in literal mode, start a new line after the tag getting this to work requires some general (print_man_node) fixes: * in literal mode, break the output line at the end of each input line, not just after those input lines ending in text * but don't break it when there was no output on the line * and adjust the margins after the .HP tag these general fixes require an adjustment to -Tascii .TP rendering: * set up NOBREAK mode before the body, not after the head finally, based on all this, implement -Tman .Bl -hang in terms of .HP
2012-07-10Make sure that we don't schedule processes on CPUs that we havetaken out ofMark Kettenis
the scheduler. ok hasbaert@. deraadt@
2012-07-10quick fix ?Marc Espie
2012-07-10support -A to print the ascii text of captured packets. ok deraadt@Stuart Henderson
2012-07-10document recent lua.port.mk changesJasper Lievisse Adriaanse
2012-07-10With address family translation, the ip length of the quoted ipAlexander Bluhm
packet within the icmp error packet was wrong. Fix this by using the pd2.tot_len of the inner packet and substract the old header's length. OK mikeb@ henning@
2012-07-10same code update and fix as for gethostnamadr_asyncEric Faurot
2012-07-10Add a workaround that scapy srp1() cannot detect ICMP6 error repliesAlexander Bluhm
with broken checksums in the quoted IPv6 packet. Fork a process to sendp() the packet in the background and sniff() the reply manually in the foreground.
2012-07-10Accounting for page tables, USPACE, and whatever else... as partTheo de Raadt
of the per-process %mem is not going to happen. In particular, we want USPACE to be removed from param.h
2012-07-10it seems previous was wrong, so move prio/tos out of OPTIONS,Jason McIntyre
and put them into the main filtering section, at least for now; ok henning
2012-07-10unconfuse myself.Marc Espie
having two methods that do completely different things with the same name (!) is evil...
2012-07-10test vertical spacing around filling macros;Ingo Schwarze
forgot to commit on June 2 after implementing .EX
2012-07-10Don't release a FILE that wan't allocated. Found by benno@Philip Guenthe
ok matthew@ benno@
2012-07-10Do not write spaces around = in addr.py so it can also be read byAlexander Bluhm
the shell.
2012-07-10We should only call need_resched() if the priority is lower than theChristiano F. Haesbaert
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@
2012-07-10Add a subtest to the MTU ping that checks wether the ip length ofAlexander Bluhm
the original packet and the icmp quoted packet are the same.
2012-07-10ouch, Rresolved and libsearchdirs no longer live in main, so make themMarc Espie
part of $gp as they should be... Oh, and create an actual linker object for later.
2012-07-10accept address literal for the recipient domain.Charles Longeau
while there, change valid_{local,domain}part() prototypes to use const char *. with input from gilles@ and eric@ ok gilles@ eric@
2012-07-10simplify the code, improve error handling and plug a potential fd leak on errorEric Faurot
2012-07-10Ooops. A debug printf sneaked in. Sorry about that.Paul Irofti