All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>,
	SE Linux <selinux@tycho.nsa.gov>
Subject: dontaudit using firstboot fifo_file
Date: Fri, 23 Mar 2007 16:37:54 -0400	[thread overview]
Message-ID: <46043AA2.3080203@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

firstboot starts certain daemons (ntp) which attempt to access its fifo_file


[-- Attachment #2: firstboot.patch --]
[-- Type: text/x-patch, Size: 977 bytes --]

--- nsaserefpolicy/policy/modules/admin/firstboot.if	2007-01-02 12:57:51.000000000 -0500
+++ serefpolicy-2.5.10/policy/modules/admin/firstboot.if	2007-03-22 15:06:58.000000000 -0400
@@ -124,3 +124,21 @@
 
 	allow $1 firstboot_t:fifo_file { read write };
 ')
+
+########################################
+## <summary>
+##	dontaudit Read and Write to a firstboot unnamed pipe.
+## </summary>
+## <param name="domain">
+##	<summary>
+##	The type of the process performing this action.
+##	</summary>
+## </param>
+#
+interface(`firstboot_dontaudit_rw_pipes',`
+	gen_require(`
+		type firstboot_t;
+	')
+
+	dontaudit $1 firstboot_t:fifo_file { read write };
+')
--- nsaserefpolicy/policy/modules/services/ntp.te	2007-03-20 23:38:08.000000000 -0400
+++ serefpolicy-2.5.10/policy/modules/services/ntp.te	2007-03-22 15:06:59.000000000 -0400
@@ -131,6 +131,7 @@
 
 optional_policy(`
 	firstboot_dontaudit_use_fds(ntpd_t)
+	firstboot_dontaudit_rw_pipes(ntpd_t)
 ')
 
 optional_policy(`


             reply	other threads:[~2007-03-23 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23 20:37 Daniel J Walsh [this message]
     [not found] <46042428.6080007@comcast.net>
2007-04-10 13:06 ` dontaudit using firstboot fifo_file Christopher J. PeBenito

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=46043AA2.3080203@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=cpebenito@tresys.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.