summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_generic.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Revert "Implement select(2) and pselect(2) on top of kqueue."visa2021-01-081-148/+58
* Simplify parameters of pselregister().visa2020-12-261-8/+5
* Implement select(2) and pselect(2) on top of kqueue.mpi2020-12-221-55/+148
* expose timeval/timespec from system calls into ktrace, before determiningderaadt2020-10-021-7/+8
* poll(2), ppoll(2), pselect(2), select(2): tsleep(9) -> tsleep_nsec(9)cheloha2020-03-201-9/+15
* Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().mpi2020-02-141-2/+15
* Make writes to the f_flag field of `struct file' MP-safe using atomicanton2020-02-011-5/+5
* Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.mpi2020-01-161-9/+3
* Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andvisa2020-01-081-25/+1
* poll(2), ppoll(2), select(2), pselect(2): always set P_SELECT before tsleepcheloha2019-10-031-9/+5
* push the KERNEL_LOCK deeper on read(2) and write(2)semarie2019-06-221-2/+5
* Make resource limit access MP-safe. So far, the copy-on-write sharingvisa2019-06-211-2/+2
* select(2), pselect(2), poll(2), ppoll(2): Support full timeout range.cheloha2019-01-211-63/+58
* Reorder checks in the read/write(2) family of syscalls to prepare makingmpi2018-08-201-152/+162
* Don't pass an uninitialised size value to free(9). Pointer argument isjsg2018-07-141-2/+2
* Move socket & pipe specific logic in their ioctl handler.mpi2018-07-101-17/+5
* Protect per-file counters and document which lock is used to protectmpi2018-05-081-1/+5
* Move FREF() inside fd_getfile().mpi2018-04-271-10/+1
* Call FREF() right after fd_getfile_mode() in sys_ioctl().mpi2018-04-091-16/+16
* Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.guenther2018-01-021-1/+2
* Assert that the corresponding socket is locked when manipulating socketmpi2017-06-261-2/+2
* Rename pfind(9) into tfind(9) to reflect that it deals with threads.mpi2017-01-241-3/+3
* Split PID from TID, giving processes a PID unrelated to the TID of theirguenther2016-11-071-9/+9
* remove some casts that aren't necessary.tedu2016-07-051-6/+6
* ktrace support for pollfd[] arraysderaadt2016-06-071-3/+7
* remove stale lint annotationstedu2015-12-051-5/+1
* refactor pledge_*_check and pledge_fail functionssemarie2015-11-011-2/+2
* move SS_DNS socket check from kern_plegde.c to sys_generic.csemarie2015-10-181-4/+11
* pledge_ioctl_check() will do the killing if neccessary; if it returns,deraadt2015-10-111-2/+2
* another stray )deraadt2015-10-091-2/+2
* shortcircuit TIOCGETA to directly return ENOTTY for non-ttys. It couldderaadt2015-10-091-2/+3
* Rename tame() to pledge(). This fairly interface has evolved to be morederaadt2015-10-091-4/+4
* Convert _TM_ flags to TAME_ flags, collapsing the entire mappingderaadt2015-09-111-2/+2
* Only include <sys/tame.h> in the .c files that need itguenther2015-09-111-1/+2
* Move to tame(int flags, char *paths[]) API/ABI.deraadt2015-08-221-2/+1
* Add ktracing of structs iovec, msghdr, and cmsghdr for {,p}{read,write}v(),guenther2015-07-281-1/+9
* tame(2) is a subsystem which restricts programs into a "reduced featurederaadt2015-07-191-4/+10
* Set POLLHUP even if no valid events were specified as per POSIX.millert2015-05-101-3/+5
* Indroduce fd_getfile_mode() and use it were fd_getfile() is directlympi2015-04-301-19/+6
* Remove useless extern definitions of nselcoll and selwait.millert2015-02-121-2/+1
* convert bcopy to memcpy. ok millerttedu2014-12-101-3/+3
* pass size argument to free()deraadt2014-11-031-8/+8
* use mallocarray to get the array of pollfd structs.dlg2014-10-131-5/+9
* trim some caststedu2014-07-131-2/+2
* use mallocarray where arguments are multipled. ok deraadttedu2014-07-131-2/+2
* Refactor out dosigsuspend() functionmatthew2014-07-121-11/+5
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-8/+8
* Repair compilability after the recent uvmexp changes, especially formiod2014-07-081-1/+3
* decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt2014-07-081-3/+1
* Eliminates struct pcred by moving the real and saved ugids intoguenther2014-03-301-2/+2