Merge tag 'xtensa-20210429' of git://github.com/jcmvbkbc/linux-xtensa
[linux-2.6-microblaze.git] / net / netlabel / netlabel_unlabeled.c
index ccb4916..3e6ac9b 100644 (file)
@@ -1539,7 +1539,7 @@ int __init netlbl_unlabel_defconf(void)
        /* Only the kernel is allowed to call this function and the only time
         * 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);
+       security_task_getsecid_subj(current, &audit_info.secid);
        audit_info.loginuid = GLOBAL_ROOT_UID;
        audit_info.sessionid = 0;