From: Jonghwan Choi Date: Wed, 18 Apr 2012 21:23:04 +0000 (-0400) Subject: security: fix compile error in commoncap.c X-Git-Tag: firefly_0821_release~3680^2~3047^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51b79bee627d526199b2f6a6bef8ee0c0739b6d1;p=firefly-linux-kernel-4.4.55.git 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 Acked-by: Serge Hallyn Signed-off-by: James Morris --- diff --git a/security/commoncap.c b/security/commoncap.c index 0ecf4ba321cb..71a166a05975 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -29,6 +29,7 @@ #include #include #include +#include /* * If a non-root user executes a setuid-root binary in