summaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
AgeCommit message (Expand)Author
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-19Rollback the allproclk and fileheadlk addition. When grabbing anPhilip Guenthe
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2008-11-25Punctuate comment for clarity, and keep tense consistent throughoutBret Lambert
2008-09-19Fix a bunch of problems and races with posix file locking.Artur Grabowski
2008-06-12use PR_ZERO instead of a bzero() right after the pool_get();Thordur I. Bjornsson
2008-05-06Add a PR_ZERO flag for pools, to compliment the M_ZEROThordur I. Bjornsson
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-11-14grammar, spelling, and style fixes from bret lambert;Jason McIntyre
2006-05-07add a name to rwlock so that we can tell where procs are getting stuckTed Unangst
2006-01-06typo fix from ray lai;Jason McIntyre
2005-12-07do not allow setugid processes to use /dev/fd/#, unless they are aTheo de Raadt
2005-11-28ansi/deregister.Jonathan Gray
2005-07-03change VOP_PATHCONF to take a locked vnode, as itsJared Yanovich
2004-07-22remove p arg from fdplockTed Unangst
2004-01-12new syscall closefrom(int fd) closes all fds equal and greater than fd.Ted Unangst
2004-01-06lock filedesc before manipulating. avoids some rare races.Ted Unangst
2003-12-02Check array index before using it; from Tim Robbins via Niels.Todd C. Miller
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-08-06Remove unreachable return statement after break; Patrick LatifiTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-11-22Allow fdinit to be called with p == NULL so that we can useArtur Grabowski
2002-11-08finishdup: Avoid reference count leak in error case by reordering some code.Artur Grabowski
2002-10-15Match reality by changing (u_int) -> (int) in comments.Thomas Nordin
2002-08-23Add missing FRELE() in finishdup() error case; ok artPeter Valchev
2002-06-03compatiblity -> compatibilityTheo de Raadt
2002-05-23Fix a comment I missed when renaming FILE_UNUSE to FRELE.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-19Missing FRELE in error case. ok provos@Thomas Nordin
2002-02-18fix issue on LP64 BE arch's w/ fcntl's F_GETOWNEric Jackson
2002-02-13More FREF/FRELE on relevant places. Now, only sys_mmap and a bunch of ioctl f...Artur Grabowski
2002-02-09Protect the whole sys_fnctl with one big FREF/FRELE pair.Artur Grabowski
2002-02-08Add a comment about an obscure behavior in dup2(2).Artur Grabowski
2002-02-08Add a slightly redundant arg to finishdup that's the struct file *Artur Grabowski
2002-02-08No more need for ffree. Since it's hard to use it safely, remove it.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
2002-02-05Add counting of temporary references to a struct file (as opposed to referencesArtur Grabowski
2002-02-04Add some comments documenting why we use fd_ofiles insteadArtur Grabowski
2002-02-02Reorganize sys_fcntl to make future changes easier.Artur Grabowski
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-11-15Initialize listNiklas Hallqvist
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-11-05let finishdup take the proc as arguemnt instead of the filedesc.Artur Grabowski
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
2001-10-26 - split fdalloc into two functions. fdalloc now returns ENOSPC if itArtur Grabowski
2001-10-07Clean up fdrelease.Artur Grabowski
2001-10-07gc UF_MAPPED.Artur Grabowski