summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
Commit message (Expand)AuthorAgeFilesLines
* Remove Giant from getpgid() and getsid() and tweak the logic to morejhb2003-04-251-30/+28
* Back out M_* changes, per decision of the TRB.imp2003-02-191-4/+4
* Remove mtx_lock_giant from functions which are mp-safe.jake2003-02-101-9/+0
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-4/+4
* Include file cleanup; mac.h and malloc.h at one point had orderingrwatson2002-08-011-1/+1
* Introduce support for Mandatory Access Control and extensiblerwatson2002-07-311-3/+21
* Introduce support for Mandatory Access Control and extensiblerwatson2002-07-311-0/+11
* Revert removal of cred_free_thread(): It is used to ensure that a thread'smini2002-07-111-0/+13
* More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.alfred2002-06-291-20/+17
* Remove unused diagnostic function cread_free_thread().mini2002-06-241-13/+0
* Squish the "could sleep with process lock" messages caused by callingalfred2002-06-191-14/+40
* setsugid() touches p->p_flag so assert that the proc is locked.alfred2002-06-181-0/+2
* Change p_can{debug,see,sched,signal}()'s first argument to be a threadjhb2002-05-191-60/+69
* As malloc(9) and free(9) are now Giant-free, remove the Giant locktanimura2002-05-031-16/+5
* Push down Giant for setpgid(), setsid() and aio_daemon(). Giant protects onlytanimura2002-04-201-11/+14
* - Lock proctree_lock instead of pgrpsess_lock.jhb2002-04-161-35/+20
* - Change the algorithms of the syscalls to modify process credentials tojhb2002-04-131-83/+137
* - Axe a stale comment. We haven't allowed the ucred pointer passed tojhb2002-04-031-9/+2
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-53/+32
* Whitespace only change: use ANSI function declarations instead of K&R.jhb2002-04-011-130/+46
* Fix style bug in previous commit.jhb2002-04-011-1/+1
* Compromise for critical*()/cpu_critical*() recommit. Cleanup the interruptdillon2002-03-271-12/+11
* Use td_ucred in several trivial syscalls and remove Giant locking asjhb2002-03-221-32/+16
* Use explicit Giant locks and unlocks for rather than instrumented ones forjhb2002-03-221-6/+5
* Merge from TrustedBSD MAC branch:rwatson2002-03-221-0/+23
* Since cred never appears to be passed into the securelevel calls asrwatson2002-03-221-2/+2
* Break out the "see_other_uids" policy check from the variousrwatson2002-03-221-4/+28
* - Push down Giant into crfree() in the case that we actually free a ucred.jhb2002-03-201-0/+15
* Stop abusing the pgrpsess_lock.tanimura2002-03-111-2/+0
* Temporarily lock Giant while we update td_ucred. The proc lock doesn'tjhb2002-02-271-6/+6
* Return ESRCH if the target process is not inferior to the curproc.tanimura2002-02-271-0/+2
* Introduce a version field to `struct xucred' in place of one of thedd2002-02-271-0/+16
* Lock struct pgrp, session and sigio.tanimura2002-02-231-38/+124
* replace the embedded cr_mtx in the ucred structure with cr_mtxp (a mutexdillon2002-02-171-9/+11
* If the credential on an incoming thread is correct, don't botherjulian2002-02-171-0/+21
* - Attempt to help declutter kern. sysctl by moving security out fromarr2002-01-161-8/+7
* - Push much of the logic for p_cansignal() behind cr_cansignal, whichrwatson2002-01-061-30/+45
* o A few more minor whitespace and other style fixes.rwatson2001-12-061-6/+7
* o Remove unnecessary inclusion of opt_global.h.rwatson2001-12-061-1/+0
* o Make kern.security.bsd.suser_enabled TUNABLE.rwatson2001-12-051-0/+1
* o Update an instance of 'unprivileged_procdebug_permitted' missedrwatson2001-12-031-6/+6
* o Introduce pr_mtx into struct prison, providing protection for therwatson2001-12-031-2/+8
* o Uniformly copy uap arguments into local variables before grabbingrwatson2001-12-021-3/+1
* o Remove KSE race in setuid() in which oldcred was preserved before giantrwatson2001-12-021-1/+1
* o General style, formatting, etc, improvements:rwatson2001-12-021-167/+107
* o Further sysctl name simplification, generally stripping 'permitted',rwatson2001-11-301-9/+9
* o Move current inhabitants of kern.security to kern.security.bsd, sorwatson2001-11-301-14/+16
* Clean up breakage in inferior() I introduced in 1.92 of kern_proc.c:jhb2001-11-121-0/+3
* o Introduce group subset test, which limits the ability of a process torwatson2001-11-021-8/+36
* o Add a comment to p_candebug() noting that the P_INEXEC check shouldrwatson2001-11-021-1/+6
OpenPOWER on IntegriCloud