Hi, could you please help me with following problem? I would like to extract context patterns from a selinux module. I know there are placed at the end of the module but I don't know (and didn't find) the module structure. Therefore I don't know how to parse them (if there are any in the module).
Thank you in advance Karel Srot
$ tail abrt.pp var/cache/abrt-di(/.*)? system_u:object_r:abrt_var_cache_t:s0 /var/log/abrt-logger -- system_u:object_r:abrt_var_log_t:s0 /var/run/abrt.pid -- system_u:object_r:abrt_var_run_t:s0 /var/run/abrtd?.lock -- system_u:object_r:abrt_var_run_t:s0 /var/run/abrtd?.socket -s system_u:object_r:abrt_var_run_t:s0 /var/run/abrt(/.*)? system_u:object_r:abrt_var_run_t:s0 ...
Karel
Well, you have two options: - You can use the system-config-selinux (SELinux Management GUI Tool) which is part of the policycoreutils-gui package - Or you can use Eclipse SLIDE to do this: http://oss.tresys.com/projects/slide, if you use Fedora 15, you can install it with yum install eclipse-slide
Regards
2011/7/29 Karel Srot ksrot@redhat.com
Hi, could you please help me with following problem? I would like to extract context patterns from a selinux module. I know there are placed at the end of the module but I don't know (and didn't find) the module structure. Therefore I don't know how to parse them (if there are any in the module).
Thank you in advance Karel Srot
$ tail abrt.pp var/cache/abrt-di(/.*)? system_u:object_r:abrt_var_cache_t:s0 /var/log/abrt-logger -- system_u:object_r:abrt_var_log_t:s0 /var/run/abrt.pid -- system_u:object_r:abrt_var_run_t:s0 /var/run/abrtd?.lock -- system_u:object_r:abrt_var_run_t:s0 /var/run/abrtd?.socket -s system_u:object_r:abrt_var_run_t:s0 /var/run/abrt(/.*)? system_u:object_r:abrt_var_run_t:s0 ...
Karel
-- Karel Srot QE BaseOS team http://intranet.corp.redhat.com/ic/intranet/KarelSrot
Email: ksrot@redhat.com Web: www.cz.redhat.com Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic
-- selinux mailing list selinux@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/selinux
selinux@lists.fedoraproject.org