All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] context file for openrc
@ 2016-03-07  9:15 Jason Zaman
  2016-03-07 14:45 ` Christopher J. PeBenito
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Zaman @ 2016-03-07  9:15 UTC (permalink / raw)
  To: refpolicy

Hi all,

I recently realized that gentoo's selinux-base package creates the
context file /etc/selinux/*/contexts/run_init_type which contains
"run_init_t". This file is missing from refpolicy and should be added
since the rest of openrc's selinux support has been in refpolicy for
ages.

The run_init_type file is used by openrc's integrated run_init stuff.
This type is different from initrc_context (which contains
"system_u:system_r:initrc_t:s0"). When an admin runs an init script, it
transitions to run_init_type which does authentication and only then is
allowed to exec into initrc_context to actually run the script.

My question is basically: should this file be renamed? I can easily fix
it in openrc upstream so that debian and any others get it too and keep the
legacy in gentoo for a while.

I will send a patch adding the file as soon as the name is OK'd

-- Jason

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-07 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07  9:15 [refpolicy] context file for openrc Jason Zaman
2016-03-07 14:45 ` Christopher J. PeBenito
2016-03-07 14:49   ` Jason Zaman
2016-03-07 14:55     ` Dominick Grift
2016-03-07 15:37       ` Jason Zaman
2016-03-07 16:00         ` Dominick Grift

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.