]> Pileus Git - ~andy/linux/blobdiff - net/netlabel/netlabel_unlabeled.c
userns: Convert the audit loginuid to be a kuid
[~andy/linux] / net / netlabel / netlabel_unlabeled.c
index e7ff694f1049be48b3193d4a0b3ffded63aecbcd..729a345c75a4347babec4c0c94aa64c900372abc 100644 (file)
@@ -1541,7 +1541,7 @@ int __init netlbl_unlabel_defconf(void)
         * it is called is at bootup before the audit subsystem is reporting
         * messages so don't worry to much about these values. */
        security_task_getsecid(current, &audit_info.secid);
-       audit_info.loginuid = 0;
+       audit_info.loginuid = GLOBAL_ROOT_UID;
        audit_info.sessionid = 0;
 
        entry = kzalloc(sizeof(*entry), GFP_KERNEL);