Skip to contentSkip to conversation

kernel_corecommands.patch

refpolicy Daniel J Walsh 3 participants 4 messages Nov 25, 2008 – Dec 9, 2008

lore
Share & tools
lore
#0 lore raw

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

http://people.fedoraproject.org/~dwalsh/SELinux/F11/kernel_corecommands.patch

Add bin_t for several cups binaries.

Move some for Brother to a higher level

Add bin_t for ConsoleKit scripts

Add bin_t for pam_krb5_storegtmp

Add sys_chroot capability to corecmd_exec_chroot interface -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkksb5IACgkQrlYvE4MpobMgBACghZEE/FYb8aLrluhmayh9Z5Rd juoAn2vQnHJQcL5WeToZhzdyD2e+19Zx
=tc/L
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 7 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F11/kernel_corecommands.patch

Add bin_t for several cups binaries.

Move some for Brother to a higher level

Add bin_t for ConsoleKit scripts

Merged, with some rearrangement.

Quoted 1 line

Add bin_t for pam_krb5_storegtmp

Conflicts with pam_exec_t labeling.

Quoted 1 line

Add sys_chroot capability to corecmd_exec_chroot interface

While I agree in principle, I would want to remove it from unprivileged users.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
#3 lore raw

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

Quoted 4 lines · Martin Orr
Quoted 3 lines · Christopher J. PeBenito
Quoted 2 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F11/kernel_corecommands.patch

Quoted 8 lines
Quoted 2 lines
Quoted 1 line

Add bin_t for ConsoleKit scripts

Merged, with some rearrangement.

It is not clear to me - why should these be labelled as bin_t instead of consolekit_exec_t? Are they run by anything other than consolekit?

Best wishes,

not currently, but we do not always label all binaries with a context that can cause a transition. And theoretically these scripts could be used by another application. Just because a script is labeled bin_t and can be executed by a confined domain, does not mean it adds any privs to the confined domain. bin_t apps will execute in the current domain. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkk+dfYACgkQrlYvE4MpobOefACfUaDejpp4pNWIVfF8CkID3in4 72wAnRJbvS4BZoUiINyDFr2lfdhIoXqN
=xek3
-----END PGP SIGNATURE-----