From: Daniel J Walsh <dwalsh@redhat.com>
To: Rodney Simioni <rodney.simioni@verio.net>
Cc: selinux@tycho.nsa.gov
Subject: Re: appending to an existing policy
Date: Wed, 10 Apr 2013 14:48:30 -0400 [thread overview]
Message-ID: <5165B3FE.3060001@redhat.com> (raw)
In-Reply-To: <0971982CF6B9AB418FFD5FEF7F50CB9F05D71CDA@IAD-WPRD-XCHB03.corp.verio.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/10/2013 02:24 PM, Rodney Simioni wrote:
> I just created a custom policy and did the semodule -i test.te.
>
>
>
> I reran all my tests after a few days and I noticed there were additional
> AVC denials in the audit.log.
>
>
>
> I want to add the new stuff to my existing test.te file so that I won't
> have multiple policies. I just want to have one policy and just keep adding
> to it, is that possible and how? Thanks in advance.
>
>
> This email message is intended for the use of the person to whom it has
> been sent, and may contain information that is confidential or legally
> protected. If you are not the intended recipient or have received this
> message in error, you are not authorized to copy, distribute, or otherwise
> use this message or its attachments. Please notify the sender immediately
> by return e-mail and permanently delete this message and any attachments.
> Verio Inc. makes no warranty that this email is error or virus free. Thank
> you.
>
Yes just recreate the te file with the additions or do a
audit2allow -la >> test.te
vi test.te # To make sure the rules added are what you want.
make -f /usr/share/selinux/devel/Makefile
semodule -i test.pp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFls/0ACgkQrlYvE4MpobNktgCeMSmaNBPgPObxA+a3VoIkUsQM
eCMAnikWXxVHVvR5wR6Gs5ssYiV2PX7q
=UHgP
-----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.
next prev parent reply other threads:[~2013-04-10 18:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 18:24 appending to an existing policy Rodney Simioni
2013-04-10 18:48 ` Daniel J Walsh [this message]
2013-04-10 19:24 ` Rodney Simioni
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=5165B3FE.3060001@redhat.com \
--to=dwalsh@redhat.com \
--cc=rodney.simioni@verio.net \
--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.