summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-08-01allocate path using malloc, not as local variable; ok dlg pascoeTheo de Raadt
2005-08-01 - We shouldn't allocate MAXPATHLEN from the stack.Artur Grabowski
- Don't copy the pathbuf into kernel space unless we're systracing. deraadt@ ok
2005-08-01sys_select() used to use 6 local fd_set's in case the width was <= theTheo de Raadt
size of an fd_set (ie. 256 bits), to avoid the malloc. that is a lot of local storage. change the cross-over point to 32-bits, which is more fair. if you select with large widths, you pay the price. tested by dlg, read by millert and pascoe, run on all machines
2005-08-01remove whitespaceBrad Smith
2005-08-01spaces vs tabBrad Smith
2005-08-01Use a string directly rather than making a copy, save on stack space.Christopher Pascoe
Use a static buffer for another large variable, pending further analysis. prodded deraadt
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
2005-08-01knfTheo de Raadt
2005-08-01spacing; ok deraadt@David Krause
2005-07-31Move large receive/decryption buffer allocation from the stack intoChristopher Pascoe
wi_softc. ok millert
2005-07-31Don't use new dmesg line when printing logical devices info.Alexander Yurchenko
Suggested by deraadt@.
2005-07-31No need to #include <machine/pcb.h>; tested martin@Miod Vallat
2005-07-31Wrong copyout() size in writeback().Miod Vallat
2005-07-31Fix KDFAULT() in the 68040 & non-68040 compilation case.Miod Vallat
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-31unfortunately de(4) no longer fitsTheo de Raadt
people who add to the kernel without thinking of the growth caused this
2005-07-31remove the config glue between the /dev entry for ses and its driverDavid Gwynne
sure deraadt@
2005-07-31remove the ses driver. it has never been enabled in GENERIC on any archDavid Gwynne
in openbsds lifetime so noone is going to miss it. if you did enable it, it either didnt work or the data was hard to read and usually wrong. ok deraadt@ marco@
2005-07-31back out change that was not discussed for nowPeter Valchev
2005-07-31Perform pf state/rule/table expiry in a kernel thread instead of runningChristopher Pascoe
it out of a timeout handler. This means we will have process context, required when using the oldnointr pool allocator. Addresses pr4186, pr4273. ok dhartmei@ henning@ tedu@
2005-07-31use monotonic time for repeat event detections; feedback and ok deraadt@Damien Miller
2005-07-31do not allocate huge kinfo_proc2 and eproc structures on the stack.Theo de Raadt
allocate them on startup if needed, and free them when done. discussion with pascoe, tested by dlg
2005-07-31Missed argument in previous commit, applied separately to ease merges.Christopher Pascoe
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
2005-07-31Change the API for icmp_do_error so that it takes the mtu directly, ratherChristopher Pascoe
than a pointer to struct ifnet containing it. Saves a 448 byte stack allocation in ip_forward which previously faked up a struct ifnet just for this purpose. idea ok deraadt millert
2005-07-31including a driver without putting it's driver name at the end of a filesTheo de Raadt
line, means that on any architecture it gets pulled in. that's real clever! what does it mean? that insufficient TESTING IS GETTING DONE BEFORE COMMIT
2005-07-30syncTheo de Raadt
2005-07-30more shorteningTheo de Raadt
2005-07-30syncTheo de Raadt
2005-07-30shortenTheo de Raadt
2005-07-30people grew the kernel too much again, sighTheo de Raadt
2005-07-30Don't do nothing -> Don't do anythingBrad Smith
2005-07-30remove a driver because someone bloated the kernelTheo de Raadt
2005-07-30Use ic->ic_ibss_chan instead of ic->ic_bss->ni_chan when filling aClaudio Jeker
ipw_tx_radiotap_header struct. This fixes a panic I got when using tcpdump -nvi ipw0 -y ieee802_11_radio. OK reyk@ damien@
2005-07-30build libkernTodd C. Miller
2005-07-30remove a useless timeout after tx (decrease nasty delays whileReyk Floeter
scanning) and fix various other minor things in the ath(4) driver.
2005-07-30Pull in moddi3.c and negdi2.c from libkern since libz needs them.Todd C. Miller
2005-07-30Use the blocksize returned from scsi_size() in preference to allKenneth R Westerback
other values as was intended. As opposed to overwriting it with scsi_do_mode_sense() calls. May help PR4313. ok tdeval@
2005-07-30Need moddi3.c qdivrem.c for libzTodd C. Miller
2005-07-30Add libkern and link it in after libzTodd C. Miller
2005-07-30allow re(4) to attach too.Brad Smith
2005-07-306 -> ETHER_ADDR_LENBrad Smith
2005-07-30sync nge/ti_alloc_jumbo_mem() to look like bge's bge_alloc_jumbo_mem()Brad Smith
2005-07-29oops don't leak memory when ami_mgmt fails.Marco Peereboom
2005-07-29Per art's email, don't keep something bigger than > 256 bytes on the stack.Marco Peereboom
2005-07-29Remove cruft.Marco Peereboom
2005-07-29Redo bioctl because initial implementation was too complex.Marco Peereboom
tested and ok dlg@ beck@ get it in @deraadt
2005-07-29Use one "struct pf_state key" declaration at top of pf_test_state_icmp,Christopher Pascoe
instead of allocating it as a temp var in six mutually exclusive code paths. Saves 784 bytes of kernel stack (on i386).
2005-07-28no point in having an inode pool if we don't use itPedro Martelletto
2005-07-28KNFPedro Martelletto