security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
PATCH 1/1 security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
CC security/selinux/hooks.osecurity/selinux/hooks.c: In function `selinux_bprm_apply_creds':security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
(first use in this function)security/selinux/hooks.c:1898: error: (Each undeclared identifier
is reported only oncesecurity/selinux/hooks.c:1898: error: for each function it appears in.)
Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)security/selinux/hooks.c renamed from security/selinux/hooks.c.orig +1 -0
@@ -63,6 +63,7 @@#include <net/ipv6.h> #include <linux/hugetlb.h> #include <linux/major.h> +#include <linux/personality.h> #include "avc.h" #include "objsec.h"
Quoted 3 lines · On Sun, 18 Jul 2004, [iso-8859-2] Pawe� Sikora wrote:
CC
security/selinux/hooks.osecurity/selinux/hooks.c: In function `selinux_bprm_apply_creds':security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
I can't find this symbol anywhere in the kernel. Is this stock 2.6.8-rc2?
- James
Signature · 2 lines
James Morris <[email protected]>
Quoted 7 lines · James Morris
Quoted 3 lines · On Sun, 18 Jul 2004, [iso-8859-2] Pawe³ Sikora wrote:
CC
security/selinux/hooks.osecurity/selinux/hooks.c: In function `selinux_bprm_apply_creds':security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclaredI can't find this symbol anywhere in the kernel. Is this stock 2.6.8-rc2?
# grep PER_CLEAR /usr/src/linux/include/linux/personality.h #define PER_CLEAR_ON_SETID (READ_IMPLIES_EXEC)
Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)