Well, you have two options:<br>- You can use the system-config-selinux (SELinux Management GUI Tool) which is part of the policycoreutils-gui package<br>- Or you can use Eclipse SLIDE to do this: <a href="http://oss.tresys.com/projects/slide">http://oss.tresys.com/projects/slide</a>, if you use Fedora 15, you can install it with yum install eclipse-slide<br>
<br>Regards<br><br><div class="gmail_quote">2011/7/29 Karel Srot <span dir="ltr">&lt;<a href="mailto:ksrot@redhat.com">ksrot@redhat.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
could you please help me with following problem?<br>
I would like to extract context patterns from a selinux module.<br>
I know there are placed at the end of the module but I don&#39;t know (and<br>
didn&#39;t find) the module structure. Therefore I don&#39;t know how to parse<br>
them (if there are any in the module).<br>
<br>
Thank you in advance<br>
Karel Srot<br>
<br>
$ tail abrt.pp<br>
var/cache/abrt-di(/.*)?         system_u:object_r:abrt_var_cache_t:s0<br>
/var/log/abrt-logger            --      system_u:object_r:abrt_var_log_t:s0<br>
/var/run/abrt\.pid                      --      system_u:object_r:abrt_var_run_t:s0<br>
/var/run/abrtd?\.lock           --      system_u:object_r:abrt_var_run_t:s0<br>
/var/run/abrtd?\.socket         -s  system_u:object_r:abrt_var_run_t:s0<br>
/var/run/abrt(/.*)?             system_u:object_r:abrt_var_run_t:s0<br>
...<br>
<br>
<br>
Karel<br>
<br>
--<br>
Karel Srot<br>
QE BaseOS team<br>
<a href="http://intranet.corp.redhat.com/ic/intranet/KarelSrot" target="_blank">http://intranet.corp.redhat.com/ic/intranet/KarelSrot</a><br>
<br>
Email: <a href="mailto:ksrot@redhat.com">ksrot@redhat.com</a><br>
Web: <a href="http://www.cz.redhat.com" target="_blank">www.cz.redhat.com</a><br>
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic<br>
<font color="#888888"><br>
--<br>
selinux mailing list<br>
<a href="mailto:selinux@lists.fedoraproject.org">selinux@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/selinux" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/selinux</a></font></blockquote></div><br><br clear="all"><br>-- <br>-- <br>Marcos Luis Ortíz Valmaseda<br>
 Software Engineer (UCI)<br> Linux User # 418229<br> <a href="http://marcosluis2186.posterous.com">http://marcosluis2186.posterous.com</a><br> <a href="http://www.linkedin.com/in/marcosluis2186">http://www.linkedin.com/in/marcosluis2186</a><br>
 <a href="https://fedoraproject.org/wiki/User:Marcosluis">https://fedoraproject.org/wiki/User:Marcosluis</a><br><br>