Skip to contentSkip to conversation

how to compile checkpolicy package

DISCUSSION mina elnino 2 participants 2 messages Jul 25, 2009 – Jul 27, 2009 SELinux security module

lore
Share & tools
lore
#0 lore raw

dear list,
i'd like to make some changes in checkpolicy package according to a project in my college. i've downloaded the sources packages from userspace development. all other packages have Makefile to install them, but checkpolicy doesnt. so i dont know what to do exactly. compiling checkpolicy makes some errors. maybe i should link it with something else. and what about lex/yacc files. what should i do with them. i just want a binary file of checkpolicy to compile "policy.conf". thnx for your help! best regards.

#1 lore raw
Quoted 10 lines · mina elnino

dear list,
i'd like to make some changes in checkpolicy package according to a project in my college. i've downloaded the sources packages from userspace development. all other packages have Makefile to install them, but checkpolicy doesnt. so i dont know what to do exactly. compiling checkpolicy makes some errors. maybe i should link it with something else. and what about lex/yacc files. what should i do with them. i just want a binary file of checkpolicy to compile "policy.conf". thnx for your help!
best regards.

I don't quite understand - checkpolicy has a Makefile.
It is true that you have to first build and install libsepol before you can build checkpolicy.

You might want to use the git repo,
git clone http://oss.tresys.com/git/selinux.git

Signature · 8 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.