services_snmp.patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Add initrc labeling support
/var/agentx needs a label
Clean up admin interface
snmp needs getsched, setsched
needs ipc_lock and sys_ptrace
Reads file systems and rw xen state
Dontaudit ptrace domains
Checks all executables
Does walks of the file systems
Execs consoletype,
Communicates with virtual machines and xen machines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkksbLsACgkQrlYvE4MpobP57ACghH24LKJxtDVZubED0I1SFz9W wbcAoKju0ijZln4lOszOFqTlR1gIWh5L
=TjEz
-----END PGP SIGNATURE-----
Quoted 11 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Add initrc labeling support
/var/agentxneeds a labelClean up admin interface
snmp needs getsched, setsched
needs
ipc_lockandsys_ptrace
These two caps came up earlier this week; it makes me wonder if there is any similarity (does it fit into a pattern?). The other one had kill (was already on snmpd_t), sys_ptrace, and ipc_lock too. Snmpd doesn't have process ptrace or process sigkill perms, which is why this seems questionable.
Quoted 11 lines
Reads file systems and rw xen state
Dontaudit ptrace domains
Checks all executables
Does walks of the file systems
Execs consoletype,
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Merged with some other tweaks.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 27 lines · Christopher J. PeBenito
Quoted 11 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Add initrc labeling support
/var/agentxneeds a labelClean up admin interface
snmp needs getsched, setsched
needs
ipc_lockandsys_ptraceThese two caps came up earlier this week; it makes me wonder if there is any similarity (does it fit into a pattern?). The other one had kill (was already on
snmpd_t),sys_ptrace, andipc_locktoo. Snmpd doesn't have process ptrace or process sigkill perms, which is why this seems questionable.Quoted 8 lines
Reads file systems and rw xen state
Dontaudit ptrace domains
Checks all executables
Does walks of the file systems
Quoted 8 lines
Quoted 3 lines
Execs consoletype,
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Merged with some other tweaks.
But the xen stuff is optional while the kernel* calls are not. So if you used a policy without xen policy you still want to use the xen device. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkk3EY8ACgkQrlYvE4MpobO+nQCg1ozrEtSEdzZF7IQFPf0tIQBU 7UMAoJjaTXO/FEb7E00jOHWNf0P/NyhV
=QpHl
-----END PGP SIGNATURE-----
Quoted 5 lines · Daniel J Walsh
Quoted 3 lines · Christopher J. PeBenito
Quoted 2 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Merged with some other tweaks.
But the xen stuff is optional while the kernel* calls are not. So if you used a policy without xen policy you still want to use the xen device.
That doesn't make any sense to me. Why would it still be using the xen proc interfaces if there is no xen?
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Christopher J. PeBenito
Quoted 8 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Merged with some other tweaks.
But the xen stuff is optional while the kernel* calls are not. So if you used a policy without xen policy you still want to use the xen device.
That doesn't make any sense to me. Why would it still be using the xen proc interfaces if there is no xen?
If I have xen devices defined but use some policy other the xen, say initrc_t, or myxen or expanded virt whatever. The devices are defined in device.te and other xen calls are defined in xen.if, they are not the same.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkk4LasACgkQrlYvE4MpobOLgwCgpL8yoeXsexzvi0Gr57gSc3+6 Bi0AnRrajphTVGCcuoo4hBCG3W+P/ats
=E5Oo
-----END PGP SIGNATURE-----
Quoted 15 lines · Daniel J Walsh
Quoted 14 lines · Christopher J. PeBenito
Quoted 12 lines · Daniel J Walsh
Quoted 9 lines · Christopher J. PeBenito
Quoted 4 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Merged with some other tweaks.
But the xen stuff is optional while the kernel* calls are not. So if you used a policy without xen policy you still want to use the xen device.
Quoted 7 lines
Quoted 3 lines
That doesn't make any sense to me. Why would it still be using the xen proc interfaces if there is no xen?
If I have xen devices defined but use some policy other the xen, say
initrc_t, or myxen or expanded virt whatever. The devices are defined in device.te and other xen calls are defined in xen.if, they are not the same.
But we're not talking about devices, we're talking about proc entries. I wouldn't expect those proc entries to exist except on a xen system, in which case you also need the xen policy.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 17 lines · Christopher J. PeBenito
Quoted 16 lines · Daniel J Walsh
Quoted 15 lines · Christopher J. PeBenito
Quoted 11 lines · Daniel J Walsh
Quoted 8 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F11/services_snmp.patch
Communicates with virtual machines and xen machines
I put the kernel_*_xen_state() calls in with the other xen_*() calls.
Merged with some other tweaks.
But the xen stuff is optional while the kernel* calls are not. So if you used a policy without xen policy you still want to use the xen device.
That doesn't make any sense to me. Why would it still be using the xen proc interfaces if there is no xen?
Quoted 9 lines
Quoted 4 lines
If I have xen devices defined but use some policy other the xen, say
initrc_t, or myxen or expanded virt whatever. The devices are defined in device.te and other xen calls are defined in xen.if, they are not the same.But we're not talking about devices, we're talking about proc entries. I wouldn't expect those proc entries to exist except on a xen system, in which case you also need the xen policy.
You would need policy but not necessarily the interfaces that are defined in xen.if.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkk4L8IACgkQrlYvE4MpobP3dgCguKA5tqeXcJobVIZ3XySQ5GyU 19cAoLVgDsklyeXzOLnJY3tNJpbNApWy
=w2PZ
-----END PGP SIGNATURE-----