Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-10-25 | dont' -> don't in comments; | Jason McIntyre | |
from ray lai; | |||
2005-10-19 | Remove v_vnlock from struct vnode, okay krw@ tedu@ | Pedro Martelletto | |
2005-10-13 | In realitexpire(), do not re-add the itimer timeout if the process is in | Aaron Campbell | |
the midst of exiting. This solves a race condition that causes freed memory to be left referenced in the master kernel timeout worklist, leading to a uvm_fault. The same race condition was already fixed earlier in r1.53 of kern_clock.c for the process virtual and profile timeout structs. deraadt@ ok, testing by krw@ | |||
2005-10-10 | Avoid arithmetic overflows in computation of adjtime(). Fixes adjusting in the | Otto Moerbeek | |
wrong direction for large offsets as nick@ saw. With tom@ and toby@; ok tdeval@ krw@ | |||
2005-10-08 | Revert revision 1.39. Under heavy load, it could cause severe corruption | Pedro Martelletto | |
in the buffer lists by removing a buffer from the hash twice. Problem identified in discussion with Alexander Bluhm <Alexander_Bluhm@genua.de>. | |||
2005-10-04 | Make the syncer grab a reference for the vnode to avoid it from being | Pedro Martelletto | |
reclaimed while in this sensitive time frame. That is needed when we don't have locks. Should fix the 'sched_sync: fsync failed' panic some people were seeing. Testing mostly by sturm@ and krw@, okay tedu@ and deraadt@. | |||
2005-10-03 | In hardclock(), do not setup process virtual and profile timers if the process | Aaron Campbell | |
is in the midst of exiting. This solves a race condition that causes freed memory to be left referenced in the master kernel timeout worklist, leading to a uvm_fault (observed on an i386 MP system). tedu@, deraadt@, miod@ ok | |||
2005-09-27 | typo in comment: sprintf -> snprintf, ok markus@ | Alexander von Gernler | |
2005-09-25 | Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators, | Miod Vallat | |
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@ [complete diff this time] | |||
2005-09-20 | unbreak tree, how did you do that miod | Theo de Raadt | |
2005-09-20 | Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators, | Miod Vallat | |
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@ | |||
2005-09-16 | backout until we find a socket state for init | Theo de Raadt | |
2005-09-14 | ptrace(2) following fork(2) | Mark Kettenis | |
ok miod@ | |||
2005-09-12 | Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit | Miod Vallat | |
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. | |||
2005-09-10 | do not trust user input for sysctl. constrain arguments passed to ktrace | Theo de Raadt | |
to CTL_MAXNAME; ok espie uwe | |||
2005-09-10 | upon shutdown(), if socket is unconnected return ENOTCONN; ok millert | Theo de Raadt | |
2005-08-14 | catched->caught | Miod Vallat | |
2005-08-11 | Use SHUT_* values directly in soshutdown() instead of converting | Todd C. Miller | |
to FREAD/FWRITE. OK deraadt@ | |||
2005-08-02 | Reduce stack usage. | Mark Kettenis | |
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-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-18 | Typo in comment, from Giorgos Keramidas, keramida (at) ceid (dot) | Tom Cosgrove | |
upatras (dot) gr. Thanks. | |||
2005-07-18 | remove trailing newline in panic(9); ok millert@ and deraadt@ | Federico G. Schwindt | |
2005-07-14 | Fix comments concerning VOP_LINK(). | Pedro Martelletto | |
2005-07-14 | More netccitt and netns removals; OK henning, brad, mickey | Uwe Stuehler | |
2005-07-08 | Remove unused extent_insert_and_optimize() parameter 'flags'. Spotted | Kenneth R Westerback | |
by lint. ok art@ miod@ | |||
2005-07-07 | clear vm_dused at exec time, since we are potentially re-using the vmspace; | Theo de Raadt | |
fixes resource accounting in a mmap malloc world ok "too busy but looks right" tedu, tdeval | |||
2005-07-06 | Eliminate a couple of 'msg.msg_iovlen < 0' tests. msg_iovlen is | Kenneth R Westerback | |
unsigned. ok millert@ deraadt@ | |||
2005-07-04 | oops, kernel free needs two args. thanks pedro | Ted Unangst | |
2005-07-03 | malloc(M_WAITOK) implies sleeping, so we have to double check that | Ted Unangst | |
somebody else didn't beat us in uid_find(). | |||
2005-07-03 | sync | Dale Rahn | |
2005-07-03 | Extended Attributes was a piece to get to ACLs, however ACLs have not | Dale Rahn | |
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained. | |||
2005-07-03 | regen | Jared Yanovich | |
2005-07-03 | change VOP_PATHCONF to take a locked vnode, as its | Jared Yanovich | |
comment entry describes. requires that sys_fpathconf() lock its vnode. lots of testing by jolan and myself, ok pedro | |||
2005-06-27 | When releasing a buffer and disassociating it from its vnode, there's | Pedro Martelletto | |
no point in placing the buffer in the vnode's clean list just to remove it afterwards. Talked over with art@, various testing for a while. | |||
2005-06-18 | Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@ | Todd C. Miller | |
2005-06-17 | A second approach at fixing the telnet localhost & problem | Niklas Hallqvist | |
(but I tend to call it ssh localhost & now when telnetd is history). This is more localized patch, but leaves us with a recursive lock for protecting scheduling and signal state. Better care is taken to actually be symmetric over mi_switch. Also, the dolock cruft in psignal can go with this solution. Better test runs by more people for longer time has been carried out compared to the c2k5 patch. Long term the current mess with interruptible sleep, the default action on stop signals and wakeup interactions need to be revisited. ok deraadt@, art@ | |||
2005-06-17 | Missed in previous regen commit | Todd C. Miller | |
2005-06-17 | regen | Todd C. Miller | |
2005-06-17 | remove undelete syscall | Todd C. Miller | |
2005-06-17 | Protect buf_countdeps() call in buf_daemon() with splbio(), okay art@ | Pedro Martelletto | |
2005-06-08 | Add KERN_CPTIME2 on systems where __HAVE_CPUINFO is defined, exposes | Todd C. Miller | |
spc_cp_time member of struct schedstate_percpu (per-cpu stats). From art@ during the hackathon. | |||
2005-06-08 | bye bye netns | Henning Brauer | |
2005-06-07 | remove CCITT handling | Henning Brauer | |
2005-06-04 | let the arc4random sysctl write out up to 256 bytes at once. | Ted Unangst | |
ok + input deraadt miod | |||
2005-06-02 | for sysctl syscall pass the mib[] back to kdump to parse; | Michael Shalayeff | |
always print () on syscalls w/ void args even (deraadt version) | |||
2005-05-31 | Protect the run queues with SCHED_LOCK, not just spl (ot nothing at all in | Artur Grabowski | |
one case fixed here). miod@ "appears to be harmless" markus@ ok | |||
2005-05-31 | Protect p_timer with splclock. It can be fiddled with in hardclock (but | Artur Grabowski | |
only for curproc, that's why no SCHED_LOCK or similar is necessary). miod@ "appears to be harmless" markus@ ok | |||
2005-05-29 | sched work by niklas and art backed out; causes panics | Theo de Raadt | |