summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_vnode.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-04-14 17:18:28 +0000
committerthib <thib@openbsd.org>2007-04-14 17:18:28 +0000
commit37dd51d1043a4edbdc90e24c324d6af882143f11 (patch)
treef302431c3830498ca44f188a4a8ea590afb2be83 /sys/uvm/uvm_vnode.c
parentdocumentation of -o option was missing both in man page and usage() (diff)
downloadwireguard-openbsd-37dd51d1043a4edbdc90e24c324d6af882143f11.tar.xz
wireguard-openbsd-37dd51d1043a4edbdc90e24c324d6af882143f11.zip
Add code to check the kern.securelvel sysctl, since we run with a
default securelevel of 1, files with the SF_APPEND or SF_IMMUTBLE flag set cant be removed (or the have the flag removed) so we get alot of false postives. Instead of creating duplicte tests for different securelevels we simply remove these flags for the call to chflags(); This however makes some of the test a little corny but we agreed this was better. ok pedro@, tedu@
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
0 files changed, 0 insertions, 0 deletions