Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-01 | allocate path using malloc, not as local variable; ok dlg pascoe | Theo 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-01 | sys_select() used to use 6 local fd_set's in case the width was <= the | Theo 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-01 | remove whitespace | Brad Smith | |
2005-08-01 | spaces vs tab | Brad Smith | |
2005-08-01 | Use 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-01 | Don'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-01 | knf | Theo de Raadt | |
2005-08-01 | spacing; ok deraadt@ | David Krause | |
2005-07-31 | Move large receive/decryption buffer allocation from the stack into | Christopher Pascoe | |
wi_softc. ok millert | |||
2005-07-31 | Don't use new dmesg line when printing logical devices info. | Alexander Yurchenko | |
Suggested by deraadt@. | |||
2005-07-31 | No need to #include <machine/pcb.h>; tested martin@ | Miod Vallat | |
2005-07-31 | Wrong copyout() size in writeback(). | Miod Vallat | |
2005-07-31 | Fix KDFAULT() in the 68040 & non-68040 compilation case. | Miod Vallat | |
2005-07-31 | Get rid of unused SINCR and SSIZE constants. | Miod Vallat | |
2005-07-31 | unfortunately de(4) no longer fits | Theo de Raadt | |
people who add to the kernel without thinking of the growth caused this | |||
2005-07-31 | remove the config glue between the /dev entry for ses and its driver | David Gwynne | |
sure deraadt@ | |||
2005-07-31 | remove the ses driver. it has never been enabled in GENERIC on any arch | David 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-31 | back out change that was not discussed for now | Peter Valchev | |
2005-07-31 | Perform pf state/rule/table expiry in a kernel thread instead of running | Christopher 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-31 | use monotonic time for repeat event detections; feedback and ok deraadt@ | Damien Miller | |
2005-07-31 | do 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-31 | Missed argument in previous commit, applied separately to ease merges. | Christopher Pascoe | |
2005-07-31 | Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain | Christopher 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-31 | Change the API for icmp_do_error so that it takes the mtu directly, rather | Christopher 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-31 | including a driver without putting it's driver name at the end of a files | Theo 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-30 | sync | Theo de Raadt | |
2005-07-30 | more shortening | Theo de Raadt | |
2005-07-30 | sync | Theo de Raadt | |
2005-07-30 | shorten | Theo de Raadt | |
2005-07-30 | people grew the kernel too much again, sigh | Theo de Raadt | |
2005-07-30 | Don't do nothing -> Don't do anything | Brad Smith | |
2005-07-30 | remove a driver because someone bloated the kernel | Theo de Raadt | |
2005-07-30 | Use ic->ic_ibss_chan instead of ic->ic_bss->ni_chan when filling a | Claudio 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-30 | build libkern | Todd C. Miller | |
2005-07-30 | remove a useless timeout after tx (decrease nasty delays while | Reyk Floeter | |
scanning) and fix various other minor things in the ath(4) driver. | |||
2005-07-30 | Pull in moddi3.c and negdi2.c from libkern since libz needs them. | Todd C. Miller | |
2005-07-30 | Use the blocksize returned from scsi_size() in preference to all | Kenneth 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-30 | Need moddi3.c qdivrem.c for libz | Todd C. Miller | |
2005-07-30 | Add libkern and link it in after libz | Todd C. Miller | |
2005-07-30 | allow re(4) to attach too. | Brad Smith | |
2005-07-30 | 6 -> ETHER_ADDR_LEN | Brad Smith | |
2005-07-30 | sync nge/ti_alloc_jumbo_mem() to look like bge's bge_alloc_jumbo_mem() | Brad Smith | |
2005-07-29 | oops don't leak memory when ami_mgmt fails. | Marco Peereboom | |
2005-07-29 | Per art's email, don't keep something bigger than > 256 bytes on the stack. | Marco Peereboom | |
2005-07-29 | Remove cruft. | Marco Peereboom | |
2005-07-29 | Redo bioctl because initial implementation was too complex. | Marco Peereboom | |
tested and ok dlg@ beck@ get it in @deraadt | |||
2005-07-29 | Use 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-28 | no point in having an inode pool if we don't use it | Pedro Martelletto | |
2005-07-28 | KNF | Pedro Martelletto | |