Skip to contentSkip to conversation

roles_staff.patch

refpolicy Daniel J Walsh 2 participants 5 messages Jun 2, 2010 – Jul 20, 2010

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/roles_staff.patch

Allow staff user to exec files on removable devices

Needs access to run sandbox

Quoted 8 lines

Additional access for staff reading kernel info.

staff_t needs to run newrole to relabel content in his homedir

Needs to run ping

Added distro_redhat to eliminate all of the transitions that we did not want.

This needs to be cleaned up, its way off from typical refpolicy style. Also, instead of ifndef'ing individual optional blocks, they should all be collected into one big ifndef block.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
#2 lore raw
Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/roles_staff.patch

Allow staff user to exec files on removable devices

Needs access to run sandbox

Additional access for staff reading kernel info.

staff_t needs to run newrole to relabel content in his homedir

Quoted 10 lines
Quoted 4 lines

Needs to run ping

Added distro_redhat to eliminate all of the transitions that we did not want.

This needs to be cleaned up, its way off from typical refpolicy style. Also, instead of ifndef'ing individual optional blocks, they should all be collected into one big ifndef block.

I originally did this but I thought you asked me to move it to this format to make the changes less severe.

#3 lore raw
Quoted 17 lines · Daniel J Walsh
Quoted 16 lines · Christopher J. PeBenito
Quoted 14 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/roles_staff.patch

Allow staff user to exec files on removable devices

Needs access to run sandbox

Additional access for staff reading kernel info.

staff_t needs to run newrole to relabel content in his homedir

Needs to run ping

Added distro_redhat to eliminate all of the transitions that we did not want.

Quoted 7 lines
Quoted 5 lines

This needs to be cleaned up, its way off from typical refpolicy style. Also, instead of ifndef'ing individual optional blocks, they should all be collected into one big ifndef block.

I originally did this but I thought you asked me to move it to this format to make the changes less severe.

Did I? If so, sorry about the confusion. I would prefer that there be just the single distro_redhat block. But if you can separate the patch into two: one that moves current rules into the ifndef distro_redhat block and another that has all the other unrelated changes, that would make it easier.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 23 lines · Christopher J. PeBenito
Quoted 22 lines · Daniel J Walsh
Quoted 21 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F14/roles_staff.patch

Allow staff user to exec files on removable devices

Needs access to run sandbox

Quoted 8 lines

Additional access for staff reading kernel info.

staff_t needs to run newrole to relabel content in his homedir

Needs to run ping

Added distro_redhat to eliminate all of the transitions that we did not want.

This needs to be cleaned up, its way off from typical refpolicy style. Also, instead of ifndef'ing individual optional blocks, they should all be collected into one big ifndef block.

Quoted 10 lines
Quoted 2 lines

I originally did this but I thought you asked me to move it to this format to make the changes less severe.

Did I? If so, sorry about the confusion. I would prefer that there be just the single distro_redhat block. But if you can separate the patch into two: one that moves current rules into the ifndef distro_redhat block and another that has all the other unrelated changes, that would make it easier.

This patch removes the role transitions from staff.te, unprivuser.te and sysadm.te for the redhat policies.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxF7YoACgkQrlYvE4MpobOolQCggKsC1tx29n9zGquB/QMOgghx FiwAnj4dtH4IgfOLwZCCUZMhD+eq8cn4
=WGuF
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: role_trans.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20100720/dd18c081/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: role_trans.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20100720/dd18c081/attachment.bin