All of lore.kernel.org
 help / color / mirror / Atom feed
From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] Allow udev to launch init scripts (f.i. on	network module load)
Date: Wed, 2 Feb 2011 19:38:45 +0100	[thread overview]
Message-ID: <20110202183844.GA6308@siphos.be> (raw)
In-Reply-To: <4D49A13F.4020802@redhat.com>

On Wed, Feb 02, 2011 at 01:23:59PM -0500, Daniel J Walsh wrote:
> > --- a/policy/modules/system/udev.te
> > +++ b/policy/modules/system/udev.te
> > @@ -175,6 +175,7 @@ ifdef(`distro_gentoo',`
> >  	# during boot, init scripts use /dev/.rcsysinit
> >  	# existance to determine if we are in early booting
> >  	init_getattr_script_status_files(udev_t)
> > +	init_domtrans_script(udev_t)
> >  ')
> >  
> >  ifdef(`distro_redhat',`
>
> This would be better if it specified which scripts were launched.

Definitely. Was wondering why git send-email didn't ask me for more
information ;-) Anyhow, thanks for your tips in #selinux, now for the
requested information...

In Gentoo (the patch only includes the line in a distro_gentoo section), the
(default installed) 90-network.rules calls the /etc/init.d/net.<interface>
init script when a network subsystem is added or removed.

Wkr,
	Sven Vermeulen

  reply	other threads:[~2011-02-02 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 18:20 [refpolicy] [PATCH 1/1] Allow udev to launch init scripts (f.i. on network module load) Sven Vermeulen
2011-02-02 18:23 ` Daniel J Walsh
2011-02-02 18:38   ` Sven Vermeulen [this message]
2011-02-14 13:41     ` Christopher J. PeBenito
2011-02-14 18:51       ` Sven Vermeulen
2011-02-16 14:28         ` 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=20110202183844.GA6308@siphos.be \
    --to=sven.vermeulen@siphos.be \
    --cc=refpolicy@oss.tresys.com \
    /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.