From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mummy.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id n3L25gaS020650 for ; Mon, 20 Apr 2009 22:05:42 -0400 Received: from tyo202.gate.nec.co.jp (jazzhorn.ncsc.mil [144.51.5.9]) by mummy.ncsc.mil (8.12.10/8.12.10) with ESMTP id n3L25egx006405 for ; Tue, 21 Apr 2009 02:05:41 GMT Message-ID: <49ED29CC.6080507@ak.jp.nec.com> Date: Tue, 21 Apr 2009 11:05:00 +0900 From: KaiGai Kohei MIME-Version: 1.0 To: "Christopher J. PeBenito" CC: russell@coker.com.au, SE-Linux , dwalsh@redhat.com Subject: Re: daemons and MCS categories References: <200605220930.05483.russell@coker.com.au> <1148910738.14262.67.camel@sgc.columbia.tresys.com> <49EC1F11.6040003@ak.jp.nec.com> In-Reply-To: <49EC1F11.6040003@ak.jp.nec.com> Content-Type: text/plain; charset=ISO-2022-JP Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov KaiGai Kohei wrote: > Sorry for opening the old discussion again. > > If you don't ML logs in local, please see the archives: > http://marc.info/?t=114825463100001&r=1&w=2 > > Christopher J. PeBenito wrote: >> I agree with James on this, I don't think we want to impose semantics in >> the MCS categories, and that this >> >>> Another possibility is to have the ability to configure which categories are >>> assigned to a daemon via run_init or some similar program. It would not be >>> difficult to read a config file that maps the domain of a daemon to the range >>> that should be granted to it. >> is useful so that if users do want to run a daemon with categories, they >> can. > > Is it still unavailable on the current SELinux userspace utilities, isn't it? Shall we start to implement an extention of run_init and others based on the above Russell's idea? Now, I have a plan to store configuration files at: /etc/selinux/${POLICY_TYPE}/contexts/initrc/${DAEMON} or /etc/selinux/${POLICY_TYPE}/contexts/initrc_contexts with format extensions and, add a new option to run_init as: run_init [-n ]