summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
AgeCommit message (Expand)Author
2018-07-13Make the default failure for unveil while disabled return successBob Beck
2018-07-13Unveiling unveil(2).Bob Beck
2018-07-03Add a new so_seek member to "struct file" such that we can have seekableMark Kettenis
2018-06-25During open(2), release the fdp lock before calling vn_open(9).Visa Hankala
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-14In dounlinkat() only perform the check for a mounted directory whenTodd C. Miller
2018-06-13Make the VFS layer responsible for preventing the deletionVisa Hankala
2018-06-07Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible forVisa Hankala
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-04Add VB_DUPOK to suppress witness(4) warning of concurrent mount locks.Philip Guenther
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-05-08Protect per-file counters and document which lock is used to protectMartin Pieuchot
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-03Move FREF()s just after fd_getfile() in sys_kevent(), sys_lseek() andMartin Pieuchot
2018-04-03Add proper FREF()/FRELE() dance in sys_fchdir().Martin Pieuchot
2018-03-28Call FREF() right after fd_getfile*() in pread(), prwrite() & co.Martin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-10Syncronize filesystems to disk when suspending. Each mountpoint's vnodesTheo de Raadt
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-12-11In uvm Chuck decided backing store would not be allocated proactivelyTheo de Raadt
2017-04-15After forced unmount of a file system that has other mount pointsAlexander Bluhm
2017-02-15Threads share filedesc, so we can walk allprocess instead of allprocPhilip Guenther
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2017-01-23Avoid curproc dance in dupfdopen(), by passing a struct proc *Theo de Raadt
2017-01-15When traversing the mount list, the current mount point is lockedAlexander Bluhm
2017-01-10Fix white spaces. No binary change.Alexander Bluhm
2017-01-10Remove the unused olddp parameter from function dounmount().Alexander Bluhm
2016-09-10Add a noperm mount flag for FFS to be used for building release setsMartin Natano
2016-09-07Remove usermount remnants. ok teduMartin Natano
2016-07-14kern.usermount=1 is unsafe for everyone, since it allows any non-pledgedTheo de Raadt
2016-07-12The only valid flag for unmount(2) is MNT_FORCE, ignore any others.Todd C. Miller
2016-07-06Return EINVAL for mknod/mknodat when dev is -1 (aka VNOVAL).Todd C. Miller
2016-07-03introduces new promise "chown" to allow changing owner/group with *chown(2) f...Sebastien Marie
2016-06-27dovutimens: call vrele(9) before returning EINVALSebastien Marie
2016-06-27sys_revoke: call vrele() before returning ENOTTYSebastien Marie
2016-06-26use error code path instead of return early without calling VOP_ABORTOP() andSebastien Marie
2016-06-01rmdir(2) should return EINVAL not EBUSY when trying to remove ".".Todd C. Miller
2016-05-27W^X violations are no longer permitted by default. A kernel log messageTheo de Raadt
2016-05-15remove chroot(2) from allowed syscalls under pledge(2).Sebastien Marie
2016-03-27When pulling and unmounting an umass USB stick, the file systemAlexander Bluhm
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-01-06remove unnecessary casts where the incoming type is void *.Ted Unangst
2016-01-02mmcc noticed that nd.ni_pledge was uninitialized in doopenat() for theTheo de Raadt
2015-12-16in pledged process, setuid/setgid/sticky bits should be ignored.Sebastien Marie
2015-12-16in pledged process, setuid/setgid/sticky bits should be ignored.Sebastien Marie
2015-12-05remove stale lint annotationsTed Unangst
2015-12-04Add pledge "dpath", which provides access to mknod(2) and mkfifo(2).Theo de Raadt
2015-11-20VISTTY check in revoke() is not working well for the non-indirectedTheo de Raadt