freebsd-nq/sys/security
Robert Watson 80794edc05 In mac_bsdextended's auditctl and acct policy access control checks,
return success if the passed vnode pointer is NULL (rather than
panicking).  This can occur if either audit or accounting are
disabled while the policy is running.

Since the swapoff control has no real relevance to this policy,
which is concerned about intent to write rather than water under the
bridge, remove it.

PR:             kern/126100
Reported by:    Alan Amesbury <amesbury at umn dot edu>
MFC after:      3 days
2008-07-31 20:49:12 +00:00
..
audit Currently, BSM audit pathname token generation for chrooted or jailed 2008-07-31 16:57:41 +00:00
mac Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
mac_biba Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
mac_bsdextended In mac_bsdextended's auditctl and acct policy access control checks, 2008-07-31 20:49:12 +00:00
mac_ifoff Resort TrustedBSD MAC Framework policy entry point implementations and 2007-10-29 13:33:06 +00:00
mac_lomac The TrustedBSD MAC Framework named struct ipq instances 'ipq', which is the 2008-06-13 22:14:15 +00:00
mac_mls Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
mac_none Consistently name functions for mac_<policy> as <policy>_whatever rather 2007-10-25 11:31:11 +00:00
mac_partition Resort TrustedBSD MAC Framework policy entry point implementations and 2007-10-29 13:33:06 +00:00
mac_portacl Consistently name functions for mac_<policy> as <policy>_whatever rather 2007-10-25 11:31:11 +00:00
mac_seeotheruids Resort TrustedBSD MAC Framework policy entry point implementations and 2007-10-29 13:33:06 +00:00
mac_stub Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00
mac_test Rework the lifetime management of the kernel implementation of POSIX 2008-06-27 05:39:04 +00:00