You are not logged in.

#1 2011-01-01 11:40:25

StaticPhilly
Member
From: UK
Registered: 2009-05-15
Posts: 53

SELinux policy

hello all,

ok im new to the whole selinux policy writing, so, what im trying to do is make my own policy, im using audit2allow to get what rules i need.

now when i add some of the rules i get the following when trying to run make load:
policy/modules/{dir}{file}.te":{line}:ERROR 'type {type} is not within scope' at token ';' on line {line}:

now this only happens with certin rules,

can anyone point me in the right direction to correct these errors?

thanks,
Phil


Lightweight software dose not mean less! It just means you have to get your finger out and make it do and look like you want!

Offline

#2 2011-01-02 21:48:04

devius
Member
Registered: 2010-11-11
Posts: 22

Re: SELinux policy

Have you tried the links on the wiki? I had great success defining my own policies by following the Fedora wiki. It's very thorough.

Offline

Board footer

Powered by FluxBB