diff options
author | Jonghwan Choi <jhbird.choi@samsung.com> | 2012-04-18 17:23:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-22 16:21:43 -0700 |
commit | 8f05e5d5085e41937dd465606c56fcbb9e382e1b (patch) | |
tree | 4f48e4c30e9a949c225f514847f65826beed7d61 /security | |
parent | 4ce76587a2e44ff71c5eb49dc9224d6e75a90910 (diff) | |
download | kernel_samsung_aries-8f05e5d5085e41937dd465606c56fcbb9e382e1b.zip kernel_samsung_aries-8f05e5d5085e41937dd465606c56fcbb9e382e1b.tar.gz kernel_samsung_aries-8f05e5d5085e41937dd465606c56fcbb9e382e1b.tar.bz2 |
security: fix compile error in commoncap.c
commit 51b79bee627d526199b2f6a6bef8ee0c0739b6d1 upstream.
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>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
-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 387fb95..44f0969 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -28,6 +28,7 @@ #include <linux/prctl.h> #include <linux/securebits.h> #include <linux/user_namespace.h> +#include <linux/personality.h> /* * If a non-root user executes a setuid-root binary in |