summaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
AgeCommit message (Expand)Author
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-01-06remove unnecessary casts where the incoming type is void *.Ted Unangst
2015-12-17no need to check null before freeTed Unangst
2015-12-17add size to free. from MathieuTed Unangst
2015-12-05remove stale lint annotationsTed Unangst
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-28Prevent F_SETOWN, unless a "proc" pledge was made.Theo de Raadt
2015-10-21Setting fcntl(F_SETOWN) for a pipe failed with inappropriate ioctlAlexander Bluhm
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
2015-05-17isatty() is used by stdio to determine the buffering mode. Add a F_ISATTYTheo de Raadt
2015-04-30Avoid NULL deref in fd_getfile_mode(); OK deraadt@Todd C. Miller
2015-04-30Indroduce fd_getfile_mode() and use it were fd_getfile() is directlyMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-19unneccessary cmask variable; ok guentherTheo de Raadt
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsPhilip Guenther
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-06-15Use sizeof(struct file *) consistently for memcpy()'ing fd_ofiles.Matthew Dempsky
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2014-04-12revert falloc change, as it causes all new processes to get stuck after a whileMarc Espie
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-08split falloc into two functions, the allocation and the publication.Ted Unangst
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-07-04Format string fixes:Stefan Fritsch
2013-06-11convert some easy bcopy to memcpy and clean up fdexpand a bit.Ted Unangst
2013-06-05Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passingPhilip Guenther
2012-08-23To protect assumptions inside systrace, don't let systrace fds bePhilip Guenthe
2012-07-11Revert the blocked FIFO open fix, as there's either a race in thePhilip Guenthe
2012-07-08Don't hold the fd-table lock across vn_open(), as opening a FIFO may block.Philip Guenthe
2012-05-21Cleanup O_CLOEXEC handling and make sure UF_EXCLOSE is set correctlyMatthew Dempsky
2012-05-14Remove the "vn_open() returning ENXIO means dup+close" hook thatPhilip Guenthe
2012-05-01Eliminate the f_usecount ref count in struct file; instead of sleepingPhilip Guenthe
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-04-12In this case where dup2() extends the table using fdalloc, the newlyTheo de Raadt
2012-04-12New system call: getdtablecount(2) returns the number of fileTheo de Raadt
2012-04-12dup() was calling fd_used() twice for the new file descriptor. SeperateTheo de Raadt
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
2011-07-08Add F_DUPFD_CLOEXEC.Matthew Dempsky
2011-07-08Support sending struct info to kdump. So far for struct stat andOtto Moerbeek
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