All of lore.kernel.org
 help / color / mirror / Atom feed
* I would like to propose dropping the disable_trans boolean.
@ 2007-03-08 22:14 Daniel J Walsh
  2007-03-08 22:32 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2007-03-08 22:14 UTC (permalink / raw)
  To: SE Linux

Several reasons for this.

1.  We have gotten the policy to such a state where most stuff just works.
2.  Problems are easily worked around using audit2allow and loadable 
policy modules
grep badtype /var/log/audit/audit.log | audit2allow -m myfix
3.  Disabling trans often causes more problems then it is worth, because 
of screwed up file context.
4.  You can get the same behavior by changing the file context of a file 
to bin_t.

Thoughts?

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

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

* Re: I would like to propose dropping the disable_trans boolean.
  2007-03-08 22:14 I would like to propose dropping the disable_trans boolean Daniel J Walsh
@ 2007-03-08 22:32 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2007-03-08 22:32 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SE Linux

On Thu, 2007-03-08 at 17:14 -0500, Daniel J Walsh wrote:
> Several reasons for this.
> 
> 1.  We have gotten the policy to such a state where most stuff just works.
> 2.  Problems are easily worked around using audit2allow and loadable 
> policy modules
> grep badtype /var/log/audit/audit.log | audit2allow -m myfix
> 3.  Disabling trans often causes more problems then it is worth, because 
> of screwed up file context.
> 4.  You can get the same behavior by changing the file context of a file 
> to bin_t.
> 
> Thoughts?

I agree with this.  When we get tunables support, a better way can be
added (make the domain unconfined), and then the #3 problem will go
away.  We can't do the unconfining trick with booleans, since the
unconfining requires attributes, which won't work in conditionals.  I
know some people who will be happy to see the removal of m4 hacks I had
to add to make disable trans to work.  Does anyone have reasons too keep
these booleans?

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


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

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

end of thread, other threads:[~2007-03-08 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08 22:14 I would like to propose dropping the disable_trans boolean Daniel J Walsh
2007-03-08 22:32 ` Christopher J. PeBenito

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.