Age | Commit message (Expand) | Author |
2019-06-26 | Return EINVAL, not EBADF for fcntl(fd, F_GETLK) of a non-vnode. | Todd C. Miller |
2019-06-25 | Return EINVAL not EBADF when trying to lock a non-vnode. | Todd C. Miller |
2019-06-21 | Make resource limit access MP-safe. So far, the copy-on-write sharing | Visa Hankala |
2019-05-13 | dup2(n,n) would rlimit check before handling the n==n shortcut, | Theo de Raadt |
2018-11-05 | trace struct flock; ok visa@ | anton |
2018-08-24 | Remove all knotes from a file descriptor before closing the file in | Visa Hankala |
2018-08-21 | Use explicit fd indexing to access fd_ofiles, to clarify the code. | Visa Hankala |
2018-08-20 | Make fnew() return a new file with only one reference. This makes | Visa Hankala |
2018-08-19 | Remove a stale/obvious comment. | Visa Hankala |
2018-08-10 | Update fd_freefile when filtering/closing kqueue descriptors in fdcopy(). | Joel Sing |
2018-07-10 | Move socket & pipe specific logic in their ioctl handler. | Martin Pieuchot |
2018-07-07 | Fix an argument type error that happens when translating fcntl(F_SETOWN) | Visa Hankala |
2018-07-02 | Update the file reference count field `f_count' using atomic operations | Visa Hankala |
2018-07-02 | Assert that fdp is locked in fdalloc(). | Visa Hankala |
2018-07-01 | Lock the file descriptor table when accessing the `fd_ofileflags' array. | Visa Hankala |
2018-06-27 | Raise file_pool's IPL to prevent deadlocks with the newly unlocked | Visa Hankala |
2018-06-26 | Remove a duplicate fd_used() call. The new file descriptor passed | Visa Hankala |
2018-06-25 | Implement DRI3/prime support. This allows graphics buffers to be passed | Mark Kettenis |
2018-06-25 | Introduce fnew(), a function to initialize a `struct file'. | Martin Pieuchot |
2018-06-24 | Use atomic operations for updating `numfiles'. This makes the file count | Visa Hankala |
2018-06-20 | Unlock sendmsg(2) and sendto(2). | Martin Pieuchot |
2018-06-18 | Put file descriptors on shared data structures when they are completely | Martin Pieuchot |
2018-06-17 | Move kqueue related fields from struct filedesc to struct kqueue. Solves a panic | anton |
2018-06-05 | Revert introduction of fdinsert(), a sanitify check triggers when | Martin Pieuchot |
2018-06-02 | Add an assert that makes explicit that finishdup() should receive | Visa Hankala |
2018-06-02 | Put file descriptors on shared data structures when they are completely | Martin Pieuchot |
2018-05-31 | Use IPL_MPFLOOR for mutexes that can be taken w/ and w/o the KERNEL_LOCK(). | Martin Pieuchot |
2018-05-29 | `f_mtx' must block interrupts as long as it is taken w/ and w/o the | Martin Pieuchot |
2018-05-28 | Returns EBUSY if dup2(2) is called for a LARVAL file. | Martin Pieuchot |
2018-05-08 | Change fd_iterfile() to not return imature fps instead of skipping them | Martin Pieuchot |
2018-05-08 | Protect per-file counters and document which lock is used to protect | Martin Pieuchot |
2018-05-02 | Remove proc from the parameters of vn_lock(). The parameter is | Visa Hankala |
2018-04-28 | Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always | Visa Hankala |
2018-04-27 | Move FREF() inside fd_getfile(). | Martin Pieuchot |
2018-04-26 | Rewrite fdcopy() to avoid memcpy()s. | Martin Pieuchot |
2018-04-25 | Introduce fd_iterfile() a new helper function to iterate over `filehead'. | Martin Pieuchot |
2018-04-18 | Do a FREF()/FRELE() dance after fd_getfile() in sys_fcntl(). | Martin Pieuchot |
2018-04-12 | Use the current reference instead of incrementing `f_count' manually and | Martin Pieuchot |
2018-04-12 | Call FREF(9) earlier instead of incrementing `f_count' directly in | Martin Pieuchot |
2018-04-11 | The pledge flag for file descriptors opened from /dev/fd was always | Alexander Bluhm |
2018-04-09 | Revert previous, it introduced a bug found the hardway by landry@. | Martin Pieuchot |
2018-04-09 | Call finishdup() instead of rerolling it in dupfdopen(). | Martin Pieuchot |
2018-04-06 | Retain the UF_PLEDGED flag from the original fd during dup(2). | Alexander Bluhm |
2018-04-03 | Call FREF() right after fd_getfile() in dodup3(). | Martin Pieuchot |
2018-03-28 | Call FREF() right after fd_getfile() in sys_flock(). | Martin Pieuchot |
2018-02-19 | Remove almost unused `flags' argument of suser(). | Martin Pieuchot |
2017-07-20 | Initialize a local variable to not leak kernel stack info to userland | Martin Pieuchot |
2017-02-11 | Add a flags argument to falloc() that lets it optionally set the | Philip Guenther |
2017-01-24 | Track a per-fd flag UF_PLEDGED. This indicates the initial open was done by a | Theo de Raadt |
2017-01-23 | Allocate all memory chunks, and potentially sleeping, before freeing | Martin Pieuchot |