security: fix compile error in commoncap.c
authorJonghwan Choi <jhbird.choi@samsung.com>
Wed, 18 Apr 2012 21:23:04 +0000 (17:23 -0400)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 30 Apr 2012 18:15:12 +0000 (19:15 +0100)
commit73390480d4897bb6198b87329ee3881f544d81a7
treeff3e79378b28d7e652ef21ee961262b8c35df1d3
parent86f6822883c816f6f2c3b3502fc3acc5c05b205c
security: fix compile error in commoncap.c

BugLink: http://bugs.launchpad.net/bugs/987337

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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/commoncap.c