checkpolicy fails - compiler probs
There have been notorious and well-documented problems with the C compiler installed by Redhat 7.0, hence the need for kgcc (just an earlier version of gcc) with that distribution.
Quoted 1 line
I am having the exact same problem when trying to do a
'make relabel' - I
Quoted 1 line
have a feeling it is tied to RedHat 7.0 in some way.
Please let the list
Quoted 5 lines
know if a solution is found!
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On
Quoted 11 lines
Behalf Of Stephen Smalley
Sent: Tuesday, July 03, 2001 8:51 AM
To: Jan Petranek
Cc: NSA Selinux Mailinglist
Subject: Re: checkpolicy failsQuoted 1 line · Jan Petranek
./setfiles: invalid context
system_u:object_r:user_netscape_rw_ti on line
Quoted 3 lines
number 66
This error has been previously reported by Hugo Martinez
and by Rajan
Quoted 1 line
Ravindran, but I haven't been able to replicate it. Try
using gdb
Quoted 1 line
on the setfiles program, setting a breakpoint immediately
after the sscanf
Quoted 1 line
call (line 458) and a breakpoint before the
security_context_to_sid call
Quoted 9 lines
(line 553). Examine context at each breakpoint.
--
Stephen D. Smalley, NAI Labs
[email protected]--
You have received this message because you are subscribed
to the selinux list.
Quoted 1 line
If you no longer wish to subscribe, send mail to
[email protected] with
Quoted 1 line
the words "unsubscribe selinux" without quotes as the
message.
Quoted 1 line
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Levi A Bard
There have been notorious and well-documented problems with the C compiler installed by Redhat 7.0, hence the need for kgcc (just an earlier version of gcc) with that distribution.
With regard to the checkpolicy problem, it really was a bug in the checkpolicy program, not just a compiler problem. See my patch from the archives for a fix. I don't know whether the other problem (with 'make relabel') is a bug in the setfiles program or if it is a compiler problem.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.