Re: How to extract file context patterns from selinux module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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@xxxxxxxxxx
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



--
--
Marcos Luis Ortíz Valmaseda
 Software Engineer (UCI)
 Linux User # 418229
 http://marcosluis2186.posterous.com
 http://www.linkedin.com/in/marcosluis2186
 https://fedoraproject.org/wiki/User:Marcosluis

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux