audit: normalize MAC_POLICY_LOAD record
[sfrench/cifs-2.6.git] / security / selinux / selinuxfs.c
index ace893568b98169267dffb9097fbeefd17654a7a..c0cadbc5f85cd23fbb37ee20f2d88dba3e97f779 100644 (file)
@@ -582,7 +582,7 @@ static ssize_t sel_write_load(struct file *file, const char __user *buf,
 
 out1:
        audit_log(current->audit_context, GFP_KERNEL, AUDIT_MAC_POLICY_LOAD,
-               "policy loaded auid=%u ses=%u",
+               "auid=%u ses=%u lsm=selinux res=1",
                from_kuid(&init_user_ns, audit_get_loginuid(current)),
                audit_get_sessionid(current));
 out: