summaryrefslogtreecommitdiff
path: root/sys/kern/kern_unveil.c
AgeCommit message (Expand)Author
2018-10-29needs sys/lock.hTheo de Raadt
2018-10-28Correctly deal with upper level unveil's by keeping track of the coveringBob Beck
2018-09-25fix typo in commentJasper Lievisse Adriaanse
2018-08-28Fix stat of path components - this was breaking chrome - because theBob Beck
2018-08-11Get rid of PLEDGE_STAT, which was a hack used for unveil.Bob Beck
2018-08-07UNVEIL_* flags defined elsewhere in a .h fileTheo de Raadt
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-08-05Prevent a panic when reboot -q is used by making unveil_removevnodeBob Beck
2018-07-30rename 2nd argument of unveil from vague "flags" to "permissions";Theo de Raadt
2018-07-30KNFTheo de Raadt
2018-07-29revert accidentally changed prototypeBob Beck
2018-07-29Don't exceed UNVEIL_MAX_VNODES with a long path now that we saveBob Beck
2018-07-29Make sure we don't count looking at .. as a componentBob Beck
2018-07-20Correctly copy across unveil's from parent to child process on fork().Bob Beck
2018-07-17unvname_new() is passed something that is always 64-bits so theKenneth R Westerback
2018-07-13unbreak gcc4 buildJonathan Gray
2018-07-13Unveiling unveil(2).Bob Beck