All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: SELinux <selinux@tycho.nsa.gov>
Cc: Karel Srot <ksrot@redhat.com>
Subject: Fwd: How to extract file context patterns from selinux module
Date: Fri, 29 Jul 2011 08:06:34 -0400	[thread overview]
Message-ID: <4E32A24A.4000503@redhat.com> (raw)
In-Reply-To: <1311941001.7994.4.camel@dhcp-30-102.brq.redhat.com>

-----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@redhat.com>
To: selinux@lists.fedoraproject.org

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
-----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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

       reply	other threads:[~2011-07-29 12:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1311941001.7994.4.camel@dhcp-30-102.brq.redhat.com>
2011-07-29 12:06 ` Daniel J Walsh [this message]
2011-07-29 13:29   ` Fwd: How to extract file context patterns from selinux module Stephen Smalley
2011-07-29 15:03     ` Daniel J Walsh
2011-07-29 15:10     ` Daniel J Walsh
2011-07-29 16:04       ` Stephen Smalley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E32A24A.4000503@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=ksrot@redhat.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.