CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]
[linux-2.6.git] / security / capability.c
index 2dce66f..fd1493d 100644 (file)
@@ -826,6 +826,7 @@ void security_fixup_ops(struct security_operations *ops)
        set_to_cap_if_null(ops, capset);
        set_to_cap_if_null(ops, acct);
        set_to_cap_if_null(ops, capable);
+       set_to_cap_if_null(ops, task_capable);
        set_to_cap_if_null(ops, quotactl);
        set_to_cap_if_null(ops, quota_on);
        set_to_cap_if_null(ops, sysctl);