Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-22 | cosmetic changes: | Marc Espie | |
- pref -> prefix as pref is somewhat ambiguous - rework tests so loop doesn't intend off the screen - zap unneeded variable okay krw@ | |||
2012-12-22 | We already zero out the trapframe, so there is no reason to set individual | Mark Kettenis | |
members to zero. Gets rid of a bogus comment as a bonus. | |||
2012-12-22 | acx(4) supports power-saving in hostap mode now; ok claudio | Stefan Sperling | |
2012-12-22 | Return EEXIST to 'add' when a port is already a bridge member. This makes | Camiel Dobbelaar | |
reconfiguration with /etc/netstart silent again. (noticed by deraadt) And do the same for 'addspan'. ok deraadt | |||
2012-12-22 | Register cleanup handler passed by ld.so with atexit(3). | Mark Kettenis | |
ok kurt@ | |||
2012-12-22 | Zero %r0 before transferring control to the main program, to indicate that | Mark Kettenis | |
the main program should not register a cleanup handler with atexit(3). This will allow us to add the cleanup handler registration code to crt0.c and have ld.so pass its cleanup handler to the main program in the future. tested by tobiasu@ ok kurt@ | |||
2012-12-22 | some fixes, based on a diff from Martin Toft; | Jason McIntyre | |
2012-12-22 | Fix bug in random offset introduced in rev 1.143; random range was | Otto Moerbeek | |
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser. | |||
2012-12-21 | When binding to a new lease, wait for the RTM_NEWADDR message in | Kenneth R Westerback | |
S_BOUND state, which prevents confusion when another DHCPACK arrives. Problem found and fix tested by kettenis@. | |||
2012-12-21 | tweak for malloc(9) calls: | Gleydson Soares | |
- M_CANFAIL is useless here since that M_NOWAIT will return NULL immediately if no resources. OK mikeb@ mpi@ | |||
2012-12-21 | valid port interval 1 through 65535, not 1 - 65534 | Gleydson Soares | |
check interval with yacc/$5 variable instead of cfgstate.listen_port that is an in_port_t type, for avoid warnings, due to limited range of data type; use IPPORT_HILASTAUTO for more consistence (input from millert@) "yeah, I like that. ok" henning@ | |||
2012-12-21 | Rather than calling mircotime in bpf_catchpacket each time it's called | Mike Belopuhov | |
on a packet, make bpf_catchpacket take a timeval indicating when the packet was captured. Move microtime to the calling functions and grab the timestamp as soon as we know that we're going to call catchpacket at least once. From NetBSD, ok deraadt, claudio, sthen | |||
2012-12-21 | bpf allocates packet buffers in the ioctl path and can sleep | Mike Belopuhov | |
waiting for memory to become available obtained from netbsd with tweaks, with input from deraadt and blambert, ok deraadt, claudio | |||
2012-12-21 | remove makefile hacks that are no longer needed with t1 t2: working properly | Marc Espie | |
okay krw@ | |||
2012-12-21 | regen | Jasper Lievisse Adriaanse | |
2012-12-21 | - add some pcidevs taken from a dmesg on bugs@ | Jasper Lievisse Adriaanse | |
ok jsg@ | |||
2012-12-21 | the gcc bug seems to have been fixed... | Theo de Raadt | |
ok miod | |||
2012-12-20 | include machine/cpu.h now that is isn't any longer pulled in indirectly | Christian Weisgerber | |
by sys/sysctl.h; ok deraadt@ millert@ | |||
2012-12-20 | use openpty() rather than hand-rolled pty opening code; ok millert@ | Christian Weisgerber | |
2012-12-20 | report flow control mode in the media status callback | Mike Belopuhov | |
2012-12-20 | correctly update the current flow control mode | Mike Belopuhov | |
2012-12-20 | max_frame_size must be set after ether_ifattach updates if_mtu; | Mike Belopuhov | |
verified with the upstream driver | |||
2012-12-20 | readjust midi flow control after consuming input data | Alexandre Ratchov | |
2012-12-20 | Bring stack smashing protector for MIPS; enabled by default. | Martynas Venckus | |
Reorganize soft frame pointer so that locals are below it and grow downwards. Tested by miod@, jasper@. OK miod@. | |||
2012-12-20 | Bring stack smashing protector for Alpha; enabled by default. | Martynas Venckus | |
Reorganize soft frame pointer so that locals are below it and grow downwards. Thanks Nick for the access. OK miod@. | |||
2009-10-15 | import of gcc-4.2.1, the last gcc release under GPLv2 | Robert Nagy | |
2012-12-19 | regen | Mark Kettenis | |
2012-12-19 | Tweak to generate a better man page. | Mark Kettenis | |
2012-12-19 | regen | Mark Kettenis | |
2012-12-19 | Make it easier to create more /dev/ldomN devices. As a bonus this stops | Mark Kettenis | |
polluting ramdisks with devices that aren't needed there. | |||
2012-12-19 | crtbeginS.o needs to be built with -fPIC, otherwise bloated shared libraries | Mark Kettenis | |
silently crash when running constructors. Tested by landry@. ok beck@ | |||
2012-12-19 | Temporarily bring back the shutdown hook, but only use it to flush the disk | Mark Kettenis | |
cache. This shouldn't interfere with the hibernate code and makes sure we still flush the cache for controller that don't pass DVACT_POWRDOWN down to their children yet. This will be removed when the autoconf subsystem gets changed to do that for us by default. ok deraadt@ | |||
2012-12-19 | use (()) for arithmetic tests | Robert Peichaer | |
ok @ajacoutot | |||
2012-12-19 | Fix a purely theoretical NULL-pointer dereference in the case that we | Reyk Floeter | |
would be able to receive multiple SCM_RIGHTS messages. ok claudio@ gilles@ | |||
2012-12-19 | sync from mirrors.dat | Stuart Henderson | |
2012-12-19 | Don't attempt to delete an address that has already been deleted | Kenneth R Westerback | |
by a new dhclient (or anyone else). Instead, use add_address(..., INADDR_ANY, ...) to tell the privileged process that its active address is gone. Thus the cleanup process doesn't try to delete it. Eliminates extraneous log entries complaining that the address can't be deleted. Narrows race window where old dhclient might delete the address the new dhclient has just added. Make rapid-fire starting of dhclient even more reliable. | |||
2012-12-19 | generate .h during depend. | Marc Espie | |
remove work-around now that t1 t2: works for parallel mode. tested and okay matthieu@, krw@ | |||
2012-12-19 | Remove extra semicolon in "if (...);" which caused an incorrect flag to | Stuart Henderson | |
be set in _this->keylenbits. Found by scanning the tree using coccinelle. ok yasuoka | |||
2012-12-19 | add another umsm device that uses the qualcomm vid. named | Jonathan Gray | |
Aeon 921T by the importer, it isn't clear what the real name is. | |||
2012-12-19 | regen | Jonathan Gray | |
2012-12-19 | add another umsm device | Jonathan Gray | |
2012-12-18 | We no longer use struct eproc for kinfo_proc in sysctl.h so there | Todd C. Miller | |
is no direct need for sys/proc.h or sys/resource.h. Some consumers of kinfo_proc need these for the proc flags and rlimit defines like RLIM_INF so add the appropriate includes to them. OK deraadt@ sthen@ | |||
2012-12-18 | reorder some variables and move large buffers to the top of the stack. | Reyk Floeter | |
2012-12-18 | remove unused variable | Reyk Floeter | |
2012-12-18 | no nead to touch argv later since we don't support non-getopt arguments. | Reyk Floeter | |
2012-12-18 | doin't complain if the child processes exited cleanly. | Reyk Floeter | |
2012-12-18 | cnl is only allocated if F_NATLOOK was specified before, so skip the | Reyk Floeter | |
extra check for F_NATLOOK and check if cnl is not NULL only. no functional change, but this might make it clear that there is no and was no memleak here. | |||
2012-12-18 | reorder the variables a bit, no functionaly change. | Reyk Floeter | |
2012-12-18 | Don't clean up twice when the non-privileged process exits. Let the | Kenneth R Westerback | |
privileged process now cleans up itself. Continuous rapid repeated running of dhclient now more reliable. | |||
2012-12-17 | Don't daemonize until the RTM_NEWADDR message is received. Shuffle | Kenneth R Westerback | |
things a bit so configuring the address and default route are done last. This makes it much more likely that all the work is done when the 'bound to ...' message is displayed. Amoung other things fixes a problem with the install scripts, where the first (hostname-associated) dhclient can exit so quickly the interface doesn't yet have an address and a second (free-floating) dhclient is therefore often run. Noted by rpe@, who also tested the fix. |