All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diyab <diyab@diyab.net>
To: russell@coker.com.au
Cc: Dale Amon <amon@vnl.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: default policy package
Date: Mon, 03 Nov 2003 10:05:53 -0500	[thread overview]
Message-ID: <3FA66ED1.9020405@diyab.net> (raw)
In-Reply-To: <200311040140.04077.russell@coker.com.au>

Russell Coker wrote:

> On Tue, 4 Nov 2003 00:38, Diyab wrote:
> 
>>I ran into a similar problem with postgresql.te which contains a
>>can_exec statement with dpkg_exec_t that does not have an ifdef around
>>it.  So unless you include dpkg.te you get an error attempting to
>>compile the policy.  Easiest thing to do from what I've found is to grep
>>the everything in domains/program for the context that is giving the error.
> 
> 
> I fixed that error some time ago.
> 
> One thing I have been considering is writing some scripts to check for such 
> errors.
> 
> My initial thought was to try compiling all combinations of packages.  But 
> that would involve hundreds of thousands of compilations.  So my current idea 
> is to m4 process each .te file with only the macro files and then search for 
> type declarations.  Then make a list of all .te files which reference those 
> types or attributes that they posess.  Then once the list of inter-dependence 
> between policy files is prepared it should be only a few hundred compilations 
> needed to prove that the policy will compile in all valid configurations.
> 

This is true.  I did not mean to imply that it had not been fixed but I 
did not specifically state that it had or had not, my apologies.

Timothy,

-- 
I put instant coffee in a microwave and almost went back in time.
		-- Steven Wright


--
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:[~2003-11-03 15:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03 11:43 default policy package Dale Amon
2003-11-03 13:38 ` Diyab
     [not found]   ` <200311040140.04077.russell@coker.com.au>
2003-11-03 15:05     ` Diyab [this message]
2003-11-03 15:29     ` Dale Amon
2003-11-03 16:18       ` Stephen Smalley
     [not found]         ` <200311040348.39876.russell@coker.com.au>
2003-11-03 19:27           ` Colin Walters
2003-11-03 20:04             ` Howard Holm
2003-11-03 20:11   ` Howard Holm
     [not found] ` <200311040115.57564.russell@coker.com.au>
2003-11-03 15:27   ` Dale Amon
2003-11-03 16:15     ` Stephen Smalley
2003-11-03 17:37       ` Dale Amon
2003-11-04 17:54         ` Dale Amon

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=3FA66ED1.9020405@diyab.net \
    --to=diyab@diyab.net \
    --cc=amon@vnl.com \
    --cc=russell@coker.com.au \
    --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.