capabilities: initialize has_cap
authorSerge Hallyn <serge.hallyn@canonical.com>
Mon, 15 Aug 2011 13:29:50 +0000 (08:29 -0500)
committerJames Morris <jmorris@namei.org>
Mon, 15 Aug 2011 23:20:45 +0000 (09:20 +1000)
commit7d8db1808a2001077a9f966180c5e4f7cc20d4c7
treedb2e93f805316300e4ec3d0f6ab15b01f641a4f5
parent4d49f6710bfbd2271feab074f8c1053387e5d9fe
capabilities: initialize has_cap

Initialize has_cap in cap_bprm_set_creds()

Reported-by: Andrew G. Morgan <morgan@kernel.org>
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/commoncap.c