summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
AgeCommit message (Expand)Author
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2016-11-13Make p_ppid contain the original parent's pid even for traced processes.christos
2016-11-12PR/51624: Return the original parent for a traced process.christos
2015-08-24to garnish, dust with _KERNEL_OPTpooka
2014-10-20The userland namelen is size_t, but the kernel holds it in an int. Themaxv
2013-11-25do_setresuid: add an assert.rmind
2012-06-09Remove debugging.christos
2012-06-09Add a new resource to limit the number of lwps per user, RLIMIT_NTHR. Therechristos
2012-03-19No need take the address of an array (&array) since an array is already amatt
2011-04-27Simplify previous: the original code was mostly correct but relied onmartin
2011-04-26Stupidly (but standards commpliant) the gidsetsize argument of themartin
2010-08-30remove trailing empty line. no useful change.pooka
2010-07-01Remove pfind() and pgfind(), fix locking in various broken uses of these.rmind
2009-04-25- Rearrange pg_delete() and pg_remove() (renamed pg_free), thusrmind
2008-10-11Move uidinfo to its own module in kern_uidinfo.c and include in rump.pooka
2008-06-02Most contention on proc_lock is from getppid(), so cache the parent's PID.ad
2008-04-24Network protocol interrupts can now block on locks, so merge the globalsad
2007-12-20Convert all the system call entry points from:dsl
2007-06-30Fix inverted check in sys_setgroups().dsl
2007-06-30Add a flags parameter to kauth_cred_get/setgroups() so that sys_set/setgroupsdsl
2007-06-23Make sys_getgroups() and sys_setgroups() use the newly added functionsdsl
2007-03-09- Make the proclist_lock a mutex. The write:read ratio is unfavourable,ad
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2007-02-22TRUE -> true, FALSE -> falsethorpej
2007-02-17Change the process/lwp flags seen by userland via sysctl back to thepavel
2007-02-09Merge newlock2 to head.ad
2006-11-01remove some __unused from function parameters.yamt
2006-10-12- sprinkle __unused on function decls.christos
2006-09-08First take at security model abstraction.elad
2006-07-30Single-thread updates to the process credential.ad
2006-07-19- Hold a reference to the process credentials in each struct lwp.ad
2006-07-17- Always make p->p_cred a private copy before modifying.ad
2006-07-15do_setresuid, do_setresgid: use the suser privilege only when necessary.yamt
2006-05-14integrate kauth.elad
2005-12-11merge ktrace-lwp.christos
2005-09-02Made the code of the grsortu function smaller and simpler. Ok'ed byrillig
2005-08-23in setgroups(), sort -u the gid_t array to make sure that comparisons arechristos
2005-08-22Bugfix: In crcmp, compare n group IDs instead of only n bytes.rillig
2004-05-04crcopy: no need to lock if we're only reading the structure's reference count.pk
2004-05-02Add mutex to protect the ucred reference counter.pk
2004-04-25Initialise (most) pools from a link set instead of explicit callssimonb
2004-04-17PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlockchristos
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-05-16add a crcmp() function.christos
2003-03-27sys_setreuid(): parenthesize the ruid check in ?: condition, so thatjdolecek
2003-03-19Alternative pid/proc allocater, removes all searches associated with piddsl
2003-03-05Add do_setresuid() and do_setresgid() and implement sys_setuid, sys_seteuid,dsl
2003-02-28Cosmetic changes.enami
2003-02-18Add newline character to logname change warning.wiz
2003-02-18KNF kern_prot.cdsl