Re: About compile an appplication's policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use RHEL 5.0 here, there is no devel package. i will try to download one.
Another question : Am i using the conventional way to create a policy module? i used polgen several times, but sometimes after you do the e.g. "myapp.sh - -update" untill "no new avcs found" you still need to modify the scripts .

On Fri, Nov 5, 2010 at 8:07 PM, Christopher J. PeBenito <cpebenito@xxxxxxxxxx> wrote:
On 11/04/10 22:19, sure wrote:
> Hi :
>       I am trying to create my own policy module, but i met with a
> problem: after i finished the myapp.te, myapp.if and myapp.fc in my
> directory named mypolicy, I copied the uncompress
> refpolicy-20070928.tar.bz2 dir ../refpolicy/doc/Makefile.example to
> ../mypolicy and renamed Makefile, then i tried to "make" , it gave such
> wrong info:
>
> Makefile:8: /usr/share/selinux/devel/mls/include/Makefile: No such file
> or directory
> make: *** No rule to make target
> `/usr/share/selinux/devel/mls/include/Makefile'.  Stop.
>
> then i check the dir /usr/share/selinux/devel/mls/ , there are many *.pp
> files in, but  no directory named include, should i install some other
> package or find it in somewhere else.

What version of Red Hat/Fedora are you using?  I believe some of the
older ones had these files in the selinux-policy-devel package.

--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux