Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: problems using setcon()
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Tue, 29 Mar 2005 09:37:08 -0500
What do you mean? It is defined in libselinux. You do need to link with -lselinux, obviously, e.g. gcc -lselinux -o setconexample setconexample.c context_str() is defined in libselinux/src/context.c, along with the other context functions.
> I Any kernel >= 2.6.11 should be fine for using setcon().
> I updated to the checkpolicy-1.22, libselinux-1.22, You only needed to have a libselinux that included setcon. Not sure whether the stock FC3 libselinux included it or not. You didn't need to update the rest.
> I wanted to update to apply the patch-2.6.11.6. They are relative to 2.6.11, right?
> I wonder Yes, that doesn't make any sense to me either.
> also, when I make load from the directory You updated checkpolicy, libsepol and policycoreutils but didn't update your policy. Bad idea. Either update your policy or roll back the others. -- Stephen Smalley <sds@tycho.nsa.gov> 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.Received on Tue 29 Mar 2005 - 09:46:04 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |