On Thu, Nov 4, 2010 at 10:35 AM, sure <mengshuo@xxxxxxxxx> 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.
here is info of my selinux
[root@rfsos pol]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: permissive
Policy version: 21
Policy from config file: mls
br.
mengshuo