summaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
AgeCommit message (Expand)Author
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-01-24exit1() needs to do a final aggregation of the thread's [us]ticksPhilip Guenther
2014-01-21bzero -> memsetTed Unangst
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2013-10-25Move the declarations for dogetrusage(), itimerround(), and dowait4()Philip Guenther
2013-09-14Eliminate the unused retval argument from dogetrusage()Philip Guenther
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-04-01Make setrlimit() return EINVAL if rlim_cur > rlim_max, per POSIX.Philip Guenther
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2011-03-07The scheduling 'nice' value is per-process, not per-thread, so move itPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-06-29Eliminate struct plimit's PL_SHAREMOD flag: it was for COMPAT_IRIXPhilip Guenthe
2010-01-04Don't decrement the refcnt on a plimits until after we're donePhilip Guenthe
2008-05-22Use LIST_FOREACH() instead of handrolling.Thordur I. Bjornsson
2007-04-12move p_limit and p_cred into struct processTed Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
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-09-01match syscallargs comments with realityHenning Brauer
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-10-15Match reality by changing (u_int) -> (int) in comments.Thomas Nordin
2002-10-02Check for negative values. Inspiration from tedu <grendel@zeitbombe.org>.Thomas Nordin
2002-07-21Map stack pages without VM_PROT_EXECUTE. Notice that right now thisArtur Grabowski
2002-01-25Convert plimit allocations to pool.Artur Grabowski
2001-12-20Make user/system times increase monotonically. ok deraadt@ and millert@Thomas Nordin
2001-11-10Move maxdmap and maxsmap to kern_resource.cArtur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-06-27remove old vmArtur Grabowski
2001-05-26Make it a bit more obvious what dosetrlimit does. (shrink).Artur Grabowski
2000-05-05Add limfree prototype to sys/recosurcevar.h.Artur Grabowski
2000-03-03Use LIST_ macros instead of internal field names to walk the allproc list.Artur Grabowski
1999-11-05more stack direction fixes; art@ okMichael Shalayeff
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-02-26uvm allocation and name changesArtur Grabowski
1996-11-24Sync with NetBSD. Figure NZERO into priorities and that rlim_curTodd C. Miller
1996-07-27sec can be a longTheo de Raadt
1996-07-02unsigned usec can go negative, should be added in as is; netbsd pr#2585; Juer...Theo de Raadt
1996-06-20calcru() must calculate using u_quad_t to avoid overflows; netbsd pr#2496, br...Theo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-12-14from netbsd; limfree()Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt