aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/sys_generic.c
Commit message (Expand)AuthorAgeFilesLines
* poll: use fget_unlocked or fget_only_user when feasibleMateusz Guzik2021-01-291-51/+24
* select: employ fget_only_userMateusz Guzik2021-01-291-13/+22
* Expose eventfd in the native API/ABI using a new __specialfd syscallKonstantin Belousov2020-12-271-0/+63
* select: make sure there are no wakeup attempts after selfdfree returnsMateusz Guzik2020-12-021-8/+17
* select: replace reference counting with memory barriers in selfdMateusz Guzik2020-11-161-9/+9
* poll/select: change selfd_zone into a malloc typeMateusz Guzik2020-11-051-9/+7
* kern: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-1/+1
* poll: factor fd lookup out of scan and rescanMateusz Guzik2020-07-151-43/+70
* fd: remove fd_lastfileMateusz Guzik2020-07-151-5/+5
* Cast all ioctl command arguments through uint32_t internally.Hans Petter Selasky2020-04-151-3/+4
* fd: remove the seq argument from fget_unlockedMateusz Guzik2020-02-031-1/+1
* Remove duplicated empty lines from kern/*.cMateusz Guzik2020-01-301-1/+0
* posix_fallocate: push vnop implementation into the fileop layerKyle Evans2020-01-081-0/+41
* devfs: plug redundant bwillwrite avoidanceMateusz Guzik2019-10-051-3/+0
* Check and avoid overflow when incrementing fp->f_count inKonstantin Belousov2019-07-211-1/+5
* kern_poll: Restore explanatory comment removed in r177374Conrad Meyer2018-11-011-0/+7
* poll: Unify userspace pollfd pointer nameConrad Meyer2018-10-261-13/+11
* select: stop doing zero-sized memsetsMateusz Guzik2018-09-211-2/+3
* Fix the build after r333457Andrew Gallatin2018-05-101-1/+1
* ANSIfy sys_generic.cEd Maste2018-05-101-66/+19
* Eliminate the overhead of gratuitous repeated reinitialization of cap_rightsMatt Macy2018-05-091-28/+9
* Move most of the contents of opt_compat.h to opt_global.h.Brooks Davis2018-04-061-1/+0
* kern/sys_generic.c: style(9) return(foo) -> return (foo)Conrad Meyer2018-02-241-4/+4
* Destroy seltd st_mtx and st_wait in seltdfini().Konstantin Belousov2017-12-011-0/+2
* sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* Fix NULL pointer dereference and panic with shm file pread/pwrite.Mahdi Mokhtari2017-03-101-2/+4
* Add kern_pread() and kern_pwrite(), and use it in compats insteadEdward Tomasz Napierala2017-01-311-35/+32
* Renumber license clauses in sys/kern to avoid skipping #3Ed Maste2016-09-151-1/+1
* Remove unusedd and obsolete openbsd_poll system call. (Phase 1)George V. Neville-Neil2016-08-181-20/+0
* Audit file-descriptor arguments to I/O system calls such asRobert Watson2016-07-101-0/+3
* Cap IOSIZE_MAX to INT_MAX for 32-bit processes.John Baldwin2016-04-011-2/+22
* Improve error handling for posix_fallocate(2) and posix_fadvise(2).Mark Johnston2016-02-251-0/+16
* Cover a race between doselwakeup() and selfdfree(). If doselwakeup()Konstantin Belousov2015-07-091-2/+9
* The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), andKonstantin Belousov2015-04-181-0/+4
* filedesc: simplify fget_unlocked & friendsMateusz Guzik2015-02-171-1/+1
* Style changes:Hans Petter Selasky2014-11-281-4/+15
* Add the ppoll() system call.Dmitry Chagin2014-11-131-33/+95
* Simplify logic a bit. Ensure data buffer is properly aligned,Hans Petter Selasky2014-11-041-5/+8
* Provide an on-stack temporary buffer for small ioctl requests.Mateusz Guzik2014-11-031-8/+11
* In selfdfree re-evaulate sf_si after takin the lock.Mateusz Guzik2014-10-231-1/+2
* Avoid taking the lock in selfdfree when not needed.Mateusz Guzik2014-10-231-3/+4
* fd: replace fd_nfiles with fd_lastfile where appropriateMateusz Guzik2014-06-221-1/+1
* Hide internal details of sbintime_t implementation wrapping INT64_MAX intoDavide Italiano2014-04-121-2/+2
* Update kernel inclusions of capability.h to use capsicum.h instead; someRobert Watson2014-03-161-1/+1
* Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I hadPawel Jakub Dawidek2013-11-151-4/+5
* By default, allow up to SSIZE_MAX i/o for non-devfs files.Konstantin Belousov2013-10-151-1/+1
* Similar to debug.iosize_max_clamp sysctl, introduceKonstantin Belousov2013-10-151-0/+4
* Restore builds on architectures that don't support CAPABILITIES (mips).Sean Bruno2013-09-051-0/+4
* Change the cap_rights_t type from uint64_t to a structure that we can extendPawel Jakub Dawidek2013-09-051-9/+23
* Help out gcc. clang understands.Peter Wemm2013-06-291-0/+1