cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c
Robert Watson
rwatson at FreeBSD.org
Thu Jul 31 20:49:18 UTC 2008
rwatson 2008-07-31 20:49:12 UTC
FreeBSD src repository
Modified files:
sys/security/mac_bsdextended mac_bsdextended.c
Log:
SVN rev 181069 on 2008-07-31 20:49:12Z by rwatson
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
Revision Changes Path
1.43 +8 -11 src/sys/security/mac_bsdextended/mac_bsdextended.c
More information about the cvs-src
mailing list