diff options
author | Jonghwan Choi <jhbird.choi@samsung.com> | 2012-04-18 17:23:04 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-04-19 12:56:39 +1000 |
commit | 51b79bee627d526199b2f6a6bef8ee0c0739b6d1 (patch) | |
tree | f75bc36f3915284e335f3f69eb039ae88e91f513 /security/commoncap.c | |
parent | b6a89584c36f307f2c2bbb136ea50985ca4bc7b4 (diff) | |
download | linux-51b79bee627d526199b2f6a6bef8ee0c0739b6d1.tar.gz linux-51b79bee627d526199b2f6a6bef8ee0c0739b6d1.tar.bz2 linux-51b79bee627d526199b2f6a6bef8ee0c0739b6d1.zip |
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/commoncap.c')
-rw-r--r-- | security/commoncap.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/securebits.h> #include <linux/user_namespace.h> #include <linux/binfmts.h> +#include <linux/personality.h> /* * If a non-root user executes a setuid-root binary in |