* Problem about PAM-selinux
@ 2009-07-01 4:09 Andy
2009-07-01 5:04 ` Justin P. Mattock
2009-07-01 13:58 ` Stephen Smalley
0 siblings, 2 replies; 5+ messages in thread
From: Andy @ 2009-07-01 4:09 UTC (permalink / raw)
To: selinux
Hi, all,
I have a pam-selinux problem. I know I should post it to pam list, but
no response from them.
Things happened like this:
I want to upgrade my pam in Fedora Core 6, when I make my
Linux-PAM-1.1.0, I encountered a error.
pam_selinux.c: In function `mls_range_allowed':
pam_selinux.c:239: error: `CONTEXT__CONTAINS' undeclared (first use in
this function)
pam_selinux.c:239: error: (Each undeclared identifier is reported only once
pam_selinux.c:239: error: for each function it appears in.)
pam_selinux.c:246: error: `SECCLASS_CONTEXT' undeclared (first use in
this function)
And I grep "CONTEXT__CONTAINS" in the whole Linux-PAM-1.1.0 source
code packet, nowhere defines it.
It seems to be some issues about selinux.
Anybody can give me a help ? Thanks.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem about PAM-selinux
2009-07-01 4:09 Problem about PAM-selinux Andy
@ 2009-07-01 5:04 ` Justin P. Mattock
2009-07-01 12:25 ` Daniel J Walsh
2009-07-01 13:58 ` Stephen Smalley
1 sibling, 1 reply; 5+ messages in thread
From: Justin P. Mattock @ 2009-07-01 5:04 UTC (permalink / raw)
To: Andy; +Cc: selinux
Andy wrote:
> Hi, all,
> I have a pam-selinux problem. I know I should post it to pam list, but
> no response from them.
>
> Things happened like this:
> I want to upgrade my pam in Fedora Core 6, when I make my
> Linux-PAM-1.1.0, I encountered a error.
>
> pam_selinux.c: In function `mls_range_allowed':
> pam_selinux.c:239: error: `CONTEXT__CONTAINS' undeclared (first use in
> this function)
> pam_selinux.c:239: error: (Each undeclared identifier is reported only once
> pam_selinux.c:239: error: for each function it appears in.)
> pam_selinux.c:246: error: `SECCLASS_CONTEXT' undeclared (first use in
> this function)
>
> And I grep "CONTEXT__CONTAINS" in the whole Linux-PAM-1.1.0 source
> code packet, nowhere defines it.
> It seems to be some issues about selinux.
> Anybody can give me a help ? Thanks.
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
>
>
looks like an old *.h file somewhere
try updating all the SELinux packages,
(and kernel if need be)
Justin P. Mattock
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem about PAM-selinux
2009-07-01 5:04 ` Justin P. Mattock
@ 2009-07-01 12:25 ` Daniel J Walsh
2009-07-01 16:37 ` Justin P. Mattock
0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2009-07-01 12:25 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: Andy, selinux
On 07/01/2009 01:04 AM, Justin P. Mattock wrote:
> Andy wrote:
>> Hi, all,
>> I have a pam-selinux problem. I know I should post it to pam list, but
>> no response from them.
>>
>> Things happened like this:
>> I want to upgrade my pam in Fedora Core 6, when I make my
>> Linux-PAM-1.1.0, I encountered a error.
>>
>> pam_selinux.c: In function `mls_range_allowed':
>> pam_selinux.c:239: error: `CONTEXT__CONTAINS' undeclared (first use in
>> this function)
>> pam_selinux.c:239: error: (Each undeclared identifier is reported only
>> once
>> pam_selinux.c:239: error: for each function it appears in.)
>> pam_selinux.c:246: error: `SECCLASS_CONTEXT' undeclared (first use in
>> this function)
>>
>> And I grep "CONTEXT__CONTAINS" in the whole Linux-PAM-1.1.0 source
>> code packet, nowhere defines it.
>> It seems to be some issues about selinux.
>> Anybody can give me a help ? Thanks.
>>
>> --
>> This message was distributed to subscribers of the selinux mailing list.
>> If you no longer wish to subscribe, send mail to
>> majordomo@tycho.nsa.gov with
>> the words "unsubscribe selinux" without quotes as the message.
>>
> looks like an old *.h file somewhere
> try updating all the SELinux packages,
> (and kernel if need be)
>
> Justin P. Mattock
>
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov
> with
> the words "unsubscribe selinux" without quotes as the message.
CONTEXT__CONTAINS is defined in libselinux. I think you need to update
to a later version of libselinux.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem about PAM-selinux
2009-07-01 12:25 ` Daniel J Walsh
@ 2009-07-01 16:37 ` Justin P. Mattock
0 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-07-01 16:37 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: Andy, selinux
Daniel J Walsh wrote:
> On 07/01/2009 01:04 AM, Justin P. Mattock wrote:
>> Andy wrote:
>>> Hi, all,
>>> I have a pam-selinux problem. I know I should post it to pam list, but
>>> no response from them.
>>>
>>> Things happened like this:
>>> I want to upgrade my pam in Fedora Core 6, when I make my
>>> Linux-PAM-1.1.0, I encountered a error.
>>>
>>> pam_selinux.c: In function `mls_range_allowed':
>>> pam_selinux.c:239: error: `CONTEXT__CONTAINS' undeclared (first use in
>>> this function)
>>> pam_selinux.c:239: error: (Each undeclared identifier is reported only
>>> once
>>> pam_selinux.c:239: error: for each function it appears in.)
>>> pam_selinux.c:246: error: `SECCLASS_CONTEXT' undeclared (first use in
>>> this function)
>>>
>>> And I grep "CONTEXT__CONTAINS" in the whole Linux-PAM-1.1.0 source
>>> code packet, nowhere defines it.
>>> It seems to be some issues about selinux.
>>> Anybody can give me a help ? Thanks.
>>>
>>> --
>>> This message was distributed to subscribers of the selinux mailing
>>> list.
>>> If you no longer wish to subscribe, send mail to
>>> majordomo@tycho.nsa.gov with
>>> the words "unsubscribe selinux" without quotes as the message.
>>>
>> looks like an old *.h file somewhere
>> try updating all the SELinux packages,
>> (and kernel if need be)
>>
>> Justin P. Mattock
>>
>>
>> --
>> This message was distributed to subscribers of the selinux mailing list.
>> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov
>> with
>> the words "unsubscribe selinux" without quotes as the message.
> CONTEXT__CONTAINS is defined in libselinux. I think you need to
> update to a later version of libselinux.
>
Here is the address to the SELinux userpsace project:
http://userspace.selinuxproject.org/trac/wiki/Releases
you can either compile the .tar.balls
or in the search bar type "git" to
use the git interface(preferred approach).
Justin P. Mattock
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem about PAM-selinux
2009-07-01 4:09 Problem about PAM-selinux Andy
2009-07-01 5:04 ` Justin P. Mattock
@ 2009-07-01 13:58 ` Stephen Smalley
1 sibling, 0 replies; 5+ messages in thread
From: Stephen Smalley @ 2009-07-01 13:58 UTC (permalink / raw)
To: Andy; +Cc: selinux
On Wed, 2009-07-01 at 12:09 +0800, Andy wrote:
> Hi, all,
> I have a pam-selinux problem. I know I should post it to pam list, but
> no response from them.
>
> Things happened like this:
> I want to upgrade my pam in Fedora Core 6, when I make my
> Linux-PAM-1.1.0, I encountered a error.
>
> pam_selinux.c: In function `mls_range_allowed':
> pam_selinux.c:239: error: `CONTEXT__CONTAINS' undeclared (first use in
> this function)
> pam_selinux.c:239: error: (Each undeclared identifier is reported only once
> pam_selinux.c:239: error: for each function it appears in.)
> pam_selinux.c:246: error: `SECCLASS_CONTEXT' undeclared (first use in
> this function)
>
> And I grep "CONTEXT__CONTAINS" in the whole Linux-PAM-1.1.0 source
> code packet, nowhere defines it.
> It seems to be some issues about selinux.
> Anybody can give me a help ? Thanks.
Fedora Core 6 is ancient and unsupported. Considered updating to a
shiny new Fedora 11?
Regardless, you'd need a new version of libselinux if you were to build
a newer version of pam_selinux. And all the rest of the SELinux
userland.
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-01 16:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 4:09 Problem about PAM-selinux Andy
2009-07-01 5:04 ` Justin P. Mattock
2009-07-01 12:25 ` Daniel J Walsh
2009-07-01 16:37 ` Justin P. Mattock
2009-07-01 13:58 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.