[RFC][PATCH 1/3] (#7U1) file system auditing

Stephen Smalley sds at tycho.nsa.gov
Fri Apr 22 15:32:24 UTC 2005


On Fri, 2005-04-22 at 11:27 -0400, Stephen Smalley wrote:
> Also Oopses upon auditctl -w /etc/shadow -p w -k SHADOW.  In
> audit_receive_watch.  Sorry, does this patch actually work for you?

Always build with SMP enabled, even on UP machines.  That will at least
avoid completely trivial mistakes like this one.  You never initialized
your spinlock, right?  Use DEFINE_SPINLOCK() to declare it.

-- 
Stephen Smalley <sds at tycho.nsa.gov>
National Security Agency




More information about the Linux-audit mailing list