summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2004-01-12syncTed Unangst
2004-01-12new syscall closefrom(int fd) closes all fds equal and greater than fd.Ted Unangst
2004-01-12klist_invalidate to help clean up when the backend disappears, tested by mpf@Ted Unangst
2004-01-12these need to be synced when vnode_if.src changesTed Unangst
2004-01-09back out vnode parents. weird breakge found in ports treeTed Unangst
2004-01-07Add p_rlim_rss_cur for ps "lim" field. OK deraadt@Todd C. Miller
2004-01-07no kern_watchdog for SMALL_KERNEL; ok deraadt@Markus Friedl
2004-01-07Unbreak KERN_PROC_KTHREAD. Explicitly list KERN_PROC_KTHREAD inTodd C. Miller
2004-01-07Add p_emul to kinfo_proc2 for psTodd C. Miller
2004-01-07Implement KERN_PROC2 sysctl from NetBSD. This will allow us toTodd C. Miller
2004-01-06keep track of a vnode's parent dir. ufs only, and unused atm, butTed Unangst
2004-01-06lock filedesc before manipulating. avoids some rare races.Ted Unangst
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
2004-01-012004Theo de Raadt
2003-12-31regenTodd C. Miller
2003-12-31wait4(2) takes and returns pid_t, not int. OK deraadt@ and miod@Todd C. Miller
2003-12-28make check for too large allocations earlier, instead of fiddling with it.Ted Unangst
2003-12-23enough is enough, driving people insane is not niceTheo de Raadt
2003-12-23print tv_usec fields correctly in reporting conmonotonic timeMichael Shalayeff
2003-12-22Remove duplicated code (pasto)Todd C. Miller
2003-12-21Kill non-standard kernel printf %: braindead extension for good.Miod Vallat
2003-12-20In semop(2), use an array on the stack for small values of nsops soTodd C. Miller
2003-12-19Add a check for time not flowing monotonically and just don't changeTodd C. Miller
2003-12-18add new hw sysctls, cpuspeed and setperf to control cpu frequency.Ted Unangst
2003-12-17Use SLIST macros instead of rolling our own. Idea from and partlyTodd C. Miller
2003-12-15Fix some sign issues that fell out from the change of rlim_t to unsigned.Todd C. Miller
2003-12-15workaround a clock tick handling bug that the rlimit code just exposed.Theo de Raadt
2003-12-11regen now that [gs]etpriority(2) take id_t, not int.Todd C. Miller
2003-12-11Add id_t type as per POSIX and use it for [gs]etpriority(2).Todd C. Miller
2003-12-11POSIX says rlim_t should be unsigned so make it u_quad_t. Also addTodd C. Miller
2003-12-10missed in previous commitTodd C. Miller
2003-12-10regen after poll(2) changeTodd C. Miller
2003-12-10Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.Todd C. Miller
2003-12-03Pass -Wsign-compare and avoid a potential malloc(0); ok henning@Todd C. Miller
2003-12-02Check array index before using it; from Tim Robbins via Niels.Todd C. Miller
2003-11-23Check correct array index KERN_VNODE; from Alistair KerrTodd C. Miller
2003-11-20Correct bounds check in semop(2) and semctl(2)Todd C. Miller
2003-11-18don't leave test code enabled, spotted Dries SchellekensTed Unangst
2003-11-18add lightwight reader/writer locks from art@. we will be using theseTed Unangst
2003-11-18faster pools. split pagelist into full, partial, and empty so we find whatTed Unangst
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-11-03verify exec headers before attempting malloc. reported by Georgi Guninski.Ted Unangst
2003-11-03use arc4random_bytesTed Unangst
2003-10-31allocate at least as much elements as requested in hashinitMarkus Friedl
2003-10-26per deraadt@ request, don't permit insanely large stackgap values.Ted Unangst
2003-10-24refactor stackgap sysctl. prompted by a bug report from Michael Coulter.Ted Unangst
2003-10-12Linux shmat allows lookup of segments that are marked as removed soTodd C. Miller
2003-10-08originally from cb@netbsd.org, adapted by provosNikolay Sturm
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
2003-10-03Bring several fixes from FreeBSD to our current pipe implementation:Miod Vallat