All of lore.kernel.org
 help / color / mirror / Atom feed
From: KaiGai Kohei <kaigai@kaigai.gr.jp>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Re: ANN: SELinux Reference Policy Release
Date: Thu, 16 Jun 2005 22:48:20 +0900	[thread overview]
Message-ID: <42B18324.6020502@kaigai.gr.jp> (raw)
In-Reply-To: <1118871745.18294.28.camel@sgc.columbia.tresys.com>

Hi,

I looked the SELinux Reference Policy lightly.
I prefer such the approach defines explicit interface between modules.

So, I have two propositions. What do you think ?

(1) The part of macros' implementation should be enclosed by tags of <interface>.
     If you intend to manage the reference policy modules by XML database in future,
     managing the whole of interface is better than only description, I think.
--[ e.g ]--------------------------------
########################################
## <interface name="domain_kill_all_domains">
##      <description>
##              Send a kill signal to all domains.
##      </description>
##      <parameter name="domain">
##              The type of the process performing this action.
##      </parameter>
# <implementation>  <-- Add one
define(`domain_kill_all_domains',`
         gen_require(`$0'_depend)

         allow $1 domain:process sigkill;
         allow $1 self:capability kill;
')
          :
#  </implementation> <-- Add one
## </interface>
------------------------------------------

(2) I want to contain lang="XXXX" in the description field for internationalization.
     By default, that should be writen in English, and opitionally taking out the description
     field writen in Japanese and so on will be useful for non-native English user.

# Please set your encoding to UTF-8.
--[ e.g ]--------------------------------
## <description>
##      <p>
##      This module contains basic filesystem types and interfaces. This
##      includes:
##      <ul>
##              <li>The concept of different file types including basic
##              files, mount points, tmp files, etc.</li>
##              <li>Access to groups of files and all files.</li>
##              <li>Types and interfaces for the basic filesystem layout
##              (/, /etc, /tmp, /usr, etc.).</li>
##      </ul>
##      </p>
## </description>
## <description lang="Japanese">
##	<p>
##	このモジュールは以下のファイルシステム用タイプとインターフェースを含みます。
##	<ul>
##		<li>通常ファイル、マウントポイント、一時ファイルなど異なったファイル
##		タイプに対する基本概念</li>
##		<li>ファイルの集合および全体に対するアクセス</li>
##		<li>基本的なファイルシステム構造に対するタイプとインターフェース
##		(/, /etc, /tmp, /usr, etc.).</li>
##	</ul>
##	</p>
## </description>
-----------------------------------------

Thanks,

Christopher J. PeBenito wrote:
> The first release of the SELinux Reference Policy is now available on
> Sourceforge from http://serefpolicy.sourceforge.net.
> 
> This is an experimental release, and definitely is not usable as a
> drop-in replacement for the current policy, as it can only boot a very
> limited RHEL4 system.  It is directed towards policy developers, to
> generate community feedback and discussion.
> 
> Any feedback is welcome.

-- 
KaiGai Kohei <kaigai@kaigai.gr.jp>

--
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.

  parent reply	other threads:[~2005-06-16 13:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15 21:42 ANN: SELinux Reference Policy Release Christopher J. PeBenito
2005-06-15 22:35 ` Colin Walters
2005-06-15 23:25   ` antoine
2005-06-16 13:55     ` Christopher J. PeBenito
2005-06-16 17:46       ` Lorenzo Hernández García-Hierro
2005-06-21 23:25         ` antoine
2005-06-22  1:47           ` Karl MacMillan
2005-06-22  2:31             ` Lorenzo Hernández García-Hierro
2005-06-23 17:56               ` Karl MacMillan
2005-06-16  2:26   ` Karl MacMillan
2005-06-16 13:48 ` KaiGai Kohei [this message]
2005-06-16 15:17   ` Christopher J. PeBenito
2005-06-16 15:46     ` KaiGai Kohei
2005-06-16 15:47     ` Valdis.Kletnieks
2005-06-16 18:04 ` James Carter

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=42B18324.6020502@kaigai.gr.jp \
    --to=kaigai@kaigai.gr.jp \
    --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.