summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
AgeCommit message (Expand)Author
2011-07-25two more syscall functions that should have returned int, not pid_tTed Unangst
2011-07-07effectively revert 1.44. we don't need the compat_43 syscall returns ever.Ted Unangst
2011-04-04Move P_EXEC flag from struct proc to process, so that setpgid() willPhilip Guenthe
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-01Always identify threads with THREAD_PID_OFFSET, so that there's noPhilip Guenthe
2010-06-29remove the compat43 ifdef around some code. in effect, it's always beenTed Unangst
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-06-28<sys/time.b> is for ftime(), which is just in libcompat and not the kernel,Philip Guenthe
2010-01-28Make sure the process tree is is loop-free by forbidding ptrace()Philip Guenthe
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-06-02ANSIfyPhilip Guenthe
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
2008-11-01change all callers of enterpgrp() to pre-allocate a pgrp or session ifTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-10-14Back-in; problems were apparently elsewhere.Philip Guenthe
2008-10-10backout; is causing some people difficultyTheo de Raadt
2008-10-09Use the reference count in struct process to update the proc countPhilip Guenthe
2008-05-22use PR_ZERO instead of calling bzero directlyThordur I. Bjornsson
2007-04-03Start moving state that is shared among threads in a process intoArtur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
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
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
2002-10-30Implement setresuid(2), getresuid(2), setresgid(2), getresgid(2), basedTodd C. Miller
2002-10-15Match reality by changing (u_int) -> (int) in comments.Thomas Nordin
2002-01-23Allocate rusage, pgrp, ucred and session with pool.Artur Grabowski
2002-01-12Don't cast return value from splx to (void) because splx doesn't return anyth...Artur Grabowski
2001-06-22Try again. (this time it's tested).Artur Grabowski
2001-06-22KNFTheo de Raadt
2001-06-19no way, you are on drugs. last commit revoked because it broke setuid majorlyTheo de Raadt
2001-06-18Add proc_cansugid used to check if a process should be allowedArtur Grabowski
2000-11-08Cleanup.Artur Grabowski
2000-09-12o add missing getsid() prototypeTodd C. Miller
1997-11-17indentTheo de Raadt
1997-11-13add getsid(2), XPG4Theo de Raadt
1997-09-02COMPAT_BSDOS exec and compat changes.Jason Downs
1997-05-30add getpgid(2) from NetBSDkstailey
1997-03-29Do return values from issetuid() correctlyThorsten Lockert
1996-10-27Allow set[gu]id() if the [gu]id we are trying to set is the saved [gu]id,Thorsten Lockert
1996-10-26Verify that pgid argument to setpgid() is legalThorsten Lockert
1996-10-02copyinstr correctly; spotted by bitbltTheo de Raadt
1996-08-25issetugid() system call discovers if a process was started setuid or setgidTheo de Raadt
1996-08-01Implemented _POSIX_SAVED_IDS behaviour according to 1003.1-1990, withThorsten Lockert
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt