summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJonghwan Choi <jhbird.choi@samsung.com>2012-04-18 17:23:04 -0400
committerVarun Wadekar <vwadekar@nvidia.com>2012-04-25 11:46:48 +0530
commit2729ab283159562aeb7f2237bfae6ea6e953520a (patch)
treec750a261d46adb32b4107705d29f1d422bef4c13 /security
parent6de04c3910503645ba9f4b656e9cd7d6e21013e3 (diff)
security: fix compile error in commoncap.c
Add missing "personality.h" security/commoncap.c: In function 'cap_bprm_set_creds': security/commoncap.c:510: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function) security/commoncap.c:510: error: (Each undeclared identifier is reported only once security/commoncap.c:510: error: for each function it appears in.) Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security')
-rw-r--r--security/commoncap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/commoncap.c b/security/commoncap.c
index 5ec6bc24a43b..b2ab821d4565 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -29,6 +29,7 @@
#include <linux/securebits.h>
#include <linux/user_namespace.h>
#include <linux/binfmts.h>
+#include <linux/personality.h>
#ifdef CONFIG_ANDROID_PARANOID_NETWORK
#include <linux/android_aid.h>