capabilities: delete all CAP_INIT macros
authorEric Paris <eparis@redhat.com>
Fri, 1 Apr 2011 21:08:45 +0000 (17:08 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 4 Apr 2011 00:31:16 +0000 (10:31 +1000)
commita3232d2fa2e3cbab3e76d91cdae5890fee8a4034
treede02161b885ceb58b2c807ac6e0a721aabd3470b
parent5163b583a036b103c3cec7171d6731c125773ed6
capabilities: delete all CAP_INIT macros

The CAP_INIT macros of INH, BSET, and EFF made sense at one point in time,
but now days they aren't helping.  Just open code the logic in the
init_cred.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/capability.h
include/linux/init_task.h
kernel/cred.c