]> Pileus Git - ~andy/linux/blobdiff - kernel/capability.c
audit: Simplify and correct audit_log_capset
[~andy/linux] / kernel / capability.c
index 4e66bf9275b03edf3c62e0e350afc5248f2b00b8..34019c57888d4d093956b81963b557abd95103e9 100644 (file)
@@ -277,7 +277,7 @@ SYSCALL_DEFINE2(capset, cap_user_header_t, header, const cap_user_data_t, data)
        if (ret < 0)
                goto error;
 
-       audit_log_capset(pid, new, current_cred());
+       audit_log_capset(new, current_cred());
 
        return commit_creds(new);