* I have begun merging XWindows Controls into Rawhide.
@ 2008-02-25 14:07 Daniel J Walsh
2008-02-25 16:36 ` Christopher J. PeBenito
0 siblings, 1 reply; 8+ messages in thread
From: Daniel J Walsh @ 2008-02-25 14:07 UTC (permalink / raw)
To: Eamon Walsh, SE Linux, Christopher J. PeBenito
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
But the complexity of this stuff is just getting nuts.
I don't thing we should have more then one type for xserver. Allowing a
confined user to transition to user_xserver_t is just nuts and ends up
having awful policy for getting xdm_xserver_t to work. Why in the world
would we allow a confined user to start and XServer? And if they can,
why not just allow them to start xdm_xserver_t? In Rawhide right now no
users can start and Xserver except unconfined_t and he starts
xdm_xserver_t to make sure the transitions work properly. If someone
actually has a use case where they need user separated xservers then I
say write that policy off the main stream. You can still theoretically
run multiple xdm_xserver_t at different MLS levels.
Having four macro parameters is confusing as hell, and needs to go.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkfCy6AACgkQrlYvE4MpobMKCgCg5Eq4/YgkCt1ehLQWxiMrveo2
hwIAoIg7fAuzk/hyjIH6wqlzUKgiBUL2
=OmSx
-----END PGP SIGNATURE-----
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-25 14:07 I have begun merging XWindows Controls into Rawhide Daniel J Walsh
@ 2008-02-25 16:36 ` Christopher J. PeBenito
2008-02-25 20:17 ` Eamon Walsh
0 siblings, 1 reply; 8+ messages in thread
From: Christopher J. PeBenito @ 2008-02-25 16:36 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: Eamon Walsh, SE Linux
On Mon, 2008-02-25 at 09:07 -0500, Daniel J Walsh wrote:
> But the complexity of this stuff is just getting nuts.
>
> I don't thing we should have more then one type for xserver. Allowing a
> confined user to transition to user_xserver_t is just nuts and ends up
> having awful policy for getting xdm_xserver_t to work. Why in the world
> would we allow a confined user to start and XServer? And if they can,
> why not just allow them to start xdm_xserver_t? In Rawhide right now no
> users can start and Xserver except unconfined_t and he starts
> xdm_xserver_t to make sure the transitions work properly. If someone
> actually has a use case where they need user separated xservers then I
> say write that policy off the main stream. You can still theoretically
> run multiple xdm_xserver_t at different MLS levels.
>
> Having four macro parameters is confusing as hell, and needs to go.
This comes back to forthcoming effort for trying to use RBAC for role
separation. That would eliminate the structural complexity we see due
to using TE for the role separation.
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-25 16:36 ` Christopher J. PeBenito
@ 2008-02-25 20:17 ` Eamon Walsh
2008-02-25 20:52 ` Christopher J. PeBenito
2008-02-26 9:26 ` Russell Coker
0 siblings, 2 replies; 8+ messages in thread
From: Eamon Walsh @ 2008-02-25 20:17 UTC (permalink / raw)
To: Christopher J. PeBenito; +Cc: Daniel J Walsh, SE Linux
Christopher J. PeBenito wrote:
> On Mon, 2008-02-25 at 09:07 -0500, Daniel J Walsh wrote:
>
>> But the complexity of this stuff is just getting nuts.
>>
>> I don't thing we should have more then one type for xserver. Allowing a
>> confined user to transition to user_xserver_t is just nuts and ends up
>> having awful policy for getting xdm_xserver_t to work. Why in the world
>> would we allow a confined user to start and XServer? And if they can,
>> why not just allow them to start xdm_xserver_t? In Rawhide right now no
>> users can start and Xserver except unconfined_t and he starts
>> xdm_xserver_t to make sure the transitions work properly. If someone
>> actually has a use case where they need user separated xservers then I
>> say write that policy off the main stream. You can still theoretically
>> run multiple xdm_xserver_t at different MLS levels.
>>
I would be fine with only having one type for the X server; this would
certainly simplify the policy that currently has all kinds of kludgery
to support both "xdm_" and "$1_".
On a locked-down strict system like an MLS box, the user wouldn't be
allowed to run startx anyway. So I agree that the current constructions
are unnecessary.
>> Having four macro parameters is confusing as hell, and needs to go.
>>
>
> This comes back to forthcoming effort for trying to use RBAC for role
> separation. That would eliminate the structural complexity we see due
> to using TE for the role separation
Is work being done on this? I recall you said you were interested in
taking on this task.
--
Eamon Walsh <ewalsh@tycho.nsa.gov>
National Security Agency
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-25 20:17 ` Eamon Walsh
@ 2008-02-25 20:52 ` Christopher J. PeBenito
2008-02-26 9:26 ` Russell Coker
1 sibling, 0 replies; 8+ messages in thread
From: Christopher J. PeBenito @ 2008-02-25 20:52 UTC (permalink / raw)
To: Eamon Walsh; +Cc: Daniel J Walsh, SE Linux
On Mon, 2008-02-25 at 15:17 -0500, Eamon Walsh wrote:
> Christopher J. PeBenito wrote:
> > On Mon, 2008-02-25 at 09:07 -0500, Daniel J Walsh wrote:
> >> Having four macro parameters is confusing as hell, and needs to go.
> >>
> >
> > This comes back to forthcoming effort for trying to use RBAC for role
> > separation. That would eliminate the structural complexity we see due
> > to using TE for the role separation
>
> Is work being done on this? I recall you said you were interested in
> taking on this task.
I plan on starting after the xselinux branch merges into trunk.
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-25 20:17 ` Eamon Walsh
2008-02-25 20:52 ` Christopher J. PeBenito
@ 2008-02-26 9:26 ` Russell Coker
2008-02-26 13:42 ` Christopher J. PeBenito
1 sibling, 1 reply; 8+ messages in thread
From: Russell Coker @ 2008-02-26 9:26 UTC (permalink / raw)
To: Eamon Walsh; +Cc: SE Linux
On Tuesday 26 February 2008 07:17, Eamon Walsh <ewalsh@tycho.nsa.gov> wrote:
> I would be fine with only having one type for the X server; this would
> certainly simplify the policy that currently has all kinds of kludgery
> to support both "xdm_" and "$1_".
With an X server being a trusted object manager the benefit of having separate
instances of the X server for various roles is greatly reduced. Not that it
ever was a great benefit given the small number of people who used it.
In retrospect it should have been removed some time ago.
> > This comes back to forthcoming effort for trying to use RBAC for role
> > separation. That would eliminate the structural complexity we see due
> > to using TE for the role separation
>
> Is work being done on this? I recall you said you were interested in
> taking on this task.
Is this going to involve using roles on filesystem objects? If not then how
would you distinguish the files created by different roles?
--
russell@coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-26 9:26 ` Russell Coker
@ 2008-02-26 13:42 ` Christopher J. PeBenito
2008-02-26 13:57 ` Stephen Smalley
0 siblings, 1 reply; 8+ messages in thread
From: Christopher J. PeBenito @ 2008-02-26 13:42 UTC (permalink / raw)
To: russell; +Cc: Eamon Walsh, SE Linux
On Tue, 2008-02-26 at 20:26 +1100, Russell Coker wrote:
> On Tuesday 26 February 2008 07:17, Eamon Walsh <ewalsh@tycho.nsa.gov> wrote:
> > > This comes back to forthcoming effort for trying to use RBAC for role
> > > separation. That would eliminate the structural complexity we see due
> > > to using TE for the role separation
> >
> > Is work being done on this? I recall you said you were interested in
> > taking on this task.
>
> Is this going to involve using roles on filesystem objects? If not then how
> would you distinguish the files created by different roles?
Yes, the plan is to use roles on objects.
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-26 13:42 ` Christopher J. PeBenito
@ 2008-02-26 13:57 ` Stephen Smalley
2008-02-26 14:01 ` Christopher J. PeBenito
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Smalley @ 2008-02-26 13:57 UTC (permalink / raw)
To: Christopher J. PeBenito; +Cc: russell, Eamon Walsh, SE Linux
On Tue, 2008-02-26 at 08:42 -0500, Christopher J. PeBenito wrote:
> On Tue, 2008-02-26 at 20:26 +1100, Russell Coker wrote:
> > On Tuesday 26 February 2008 07:17, Eamon Walsh <ewalsh@tycho.nsa.gov> wrote:
>
> > > > This comes back to forthcoming effort for trying to use RBAC for role
> > > > separation. That would eliminate the structural complexity we see due
> > > > to using TE for the role separation
> > >
> > > Is work being done on this? I recall you said you were interested in
> > > taking on this task.
> >
> > Is this going to involve using roles on filesystem objects? If not then how
> > would you distinguish the files created by different roles?
>
> Yes, the plan is to use roles on objects.
(note: requires a kernel change)
--
Stephen Smalley
National Security Agency
--
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] 8+ messages in thread
* Re: I have begun merging XWindows Controls into Rawhide.
2008-02-26 13:57 ` Stephen Smalley
@ 2008-02-26 14:01 ` Christopher J. PeBenito
0 siblings, 0 replies; 8+ messages in thread
From: Christopher J. PeBenito @ 2008-02-26 14:01 UTC (permalink / raw)
To: Stephen Smalley; +Cc: russell, Eamon Walsh, SE Linux
On Tue, 2008-02-26 at 08:57 -0500, Stephen Smalley wrote:
> On Tue, 2008-02-26 at 08:42 -0500, Christopher J. PeBenito wrote:
> > On Tue, 2008-02-26 at 20:26 +1100, Russell Coker wrote:
> > > On Tuesday 26 February 2008 07:17, Eamon Walsh <ewalsh@tycho.nsa.gov> wrote:
> >
> > > > > This comes back to forthcoming effort for trying to use RBAC for role
> > > > > separation. That would eliminate the structural complexity we see due
> > > > > to using TE for the role separation
> > > >
> > > > Is work being done on this? I recall you said you were interested in
> > > > taking on this task.
> > >
> > > Is this going to involve using roles on filesystem objects? If not then how
> > > would you distinguish the files created by different roles?
> >
> > Yes, the plan is to use roles on objects.
>
> (note: requires a kernel change)
Right, if you label a directory with a role other than object_r and
create a file in it, the file will get object_r. Also theres some
userland changes so login programs set the role on the terminal, newrole
changes the role on the terminal, etc. Now that I think about it, that
causes a problem for RHEL4 and even RHEL5 compatibility for upstream
refpolicy.
--
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] 8+ messages in thread
end of thread, other threads:[~2008-02-26 14:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 14:07 I have begun merging XWindows Controls into Rawhide Daniel J Walsh
2008-02-25 16:36 ` Christopher J. PeBenito
2008-02-25 20:17 ` Eamon Walsh
2008-02-25 20:52 ` Christopher J. PeBenito
2008-02-26 9:26 ` Russell Coker
2008-02-26 13:42 ` Christopher J. PeBenito
2008-02-26 13:57 ` Stephen Smalley
2008-02-26 14:01 ` 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.