Fwd: How to extract file context patterns from selinux module

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- -------- Original Message --------
Subject: How to extract file context patterns from selinux module
Date: Fri, 29 Jul 2011 14:03:21 +0200
From: Karel Srot <ksrot@xxxxxxxxxx>
To: selinux@xxxxxxxxxxxxxxxxxxxxxxx

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4yokoACgkQrlYvE4MpobNp1wCgpyyfWSCd5z6hMaOutlLT9dT0
chIAn2Qmq3I6XeKfYuMPrx+8SoJbV0Dr
=CBv7
-----END PGP SIGNATURE-----

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux