NetLabel: honor the audit_enabled flag
authorPaul Moore <paul.moore@hp.com>
Fri, 17 Nov 2006 22:38:55 +0000 (17:38 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:15 +0000 (21:24 -0800)
commitde64688ffb952a65ddbc5295ccd235d35f292593
treef15714858c974bb4b86023d38639a39a539901e2
parent3de4bab5b9f8848a0c16a4b1ffe0452f0d670237
NetLabel: honor the audit_enabled flag

The audit_enabled flag is used to signal when syscall auditing is to be
performed.  While NetLabel uses a Netlink interface instead of syscalls, it is
reasonable to consider the NetLabel Netlink interface as a form of syscall so
pay attention to the audit_enabled flag when generating audit messages in
NetLabel.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/netlabel/netlabel_cipso_v4.c
net/netlabel/netlabel_domainhash.c
net/netlabel/netlabel_unlabeled.c
net/netlabel/netlabel_user.c