From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zombie2.ncsc.mil (zombie2.ncsc.mil [144.51.88.133]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id m8O0Iuon015427 for ; Tue, 23 Sep 2008 20:18:56 -0400 Received: from tyo202.gate.nec.co.jp (jazzdrum.ncsc.mil [144.51.5.7]) by zombie2.ncsc.mil (8.12.10/8.12.10) with ESMTP id m8O0HwAY012180 for ; Wed, 24 Sep 2008 00:17:59 GMT Message-ID: <48D98748.6090408@ak.jp.nec.com> Date: Wed, 24 Sep 2008 09:18:16 +0900 From: KaiGai Kohei MIME-Version: 1.0 To: James Morris CC: selinux@tycho.nsa.gov Subject: Re: How to find SELinux policy type? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov James Morris wrote: > Is there a programmatic way to determine the type of SELinux policy > configured on a system? (e.g. "targeted") > > I've looked in the SELinux userspace and SETools repositories but not > found a library call to do this. I also want to know the way to obtain the list of policy types, because it is necessary to make a specfile which provides policy modules. Thanks -- OSS Platform Development Division, NEC KaiGai Kohei -- 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.