* [PATCH] security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
@ 2004-07-18 12:25 Paweł Sikora
2004-07-18 20:51 ` James Morris
0 siblings, 1 reply; 3+ messages in thread
From: Paweł Sikora @ 2004-07-18 12:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
CC security/selinux/hooks.o
security/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 once
security/selinux/hooks.c:1898: error: for each function it appears in.)
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
[-- Attachment #2: hook.patch --]
[-- Type: text/x-diff, Size: 335 bytes --]
--- linux-2.6.8-rc2/security/selinux/hooks.c.orig 2004-07-18 11:56:07.000000000 +0200
+++ linux-2.6.8-rc2/security/selinux/hooks.c 2004-07-18 14:21:27.429622416 +0200
@@ -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"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
2004-07-18 12:25 [PATCH] security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared Paweł Sikora
@ 2004-07-18 20:51 ` James Morris
2004-07-18 20:58 ` Paweł Sikora
0 siblings, 1 reply; 3+ messages in thread
From: James Morris @ 2004-07-18 20:51 UTC (permalink / raw)
To: Paweł Sikora; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 358 bytes --]
On Sun, 18 Jul 2004, [iso-8859-2] Pawe³ Sikora wrote:
> CC security/selinux/hooks.o
> security/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
--
James Morris
<jmorris@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared
2004-07-18 20:51 ` James Morris
@ 2004-07-18 20:58 ` Paweł Sikora
0 siblings, 0 replies; 3+ messages in thread
From: Paweł Sikora @ 2004-07-18 20:58 UTC (permalink / raw)
To: James Morris; +Cc: linux-kernel
On Sunday 18 of July 2004 22:51, James Morris wrote:
> On Sun, 18 Jul 2004, [iso-8859-2] Pawe³ Sikora wrote:
> > CC security/selinux/hooks.o
> > security/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?
# grep PER_CLEAR /usr/src/linux/include/linux/personality.h
#define PER_CLEAR_ON_SETID (READ_IMPLIES_EXEC)
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-18 20:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-18 12:25 [PATCH] security/selinux/hooks.c:1898: error: `PER_CLEAR_ON_SETID' undeclared Paweł Sikora
2004-07-18 20:51 ` James Morris
2004-07-18 20:58 ` Paweł Sikora
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox