All of lore.kernel.org
 help / color / mirror / Atom feed
* About compile an appplication's policy
@ 2010-11-05  2:19 sure
  2010-11-05 12:07 ` Christopher J. PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: sure @ 2010-11-05  2:19 UTC (permalink / raw)
  To: SELinux

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1100 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-08  1:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05  2:19 About compile an appplication's policy sure
2010-11-05 12:07 ` Christopher J. PeBenito
2010-11-08  1:46   ` sure

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.