services_smartmon.patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_smartmon.patch
Add initrc script support
allow admin to start/stop service
Admin needs admin_pattern on all file types
smarmon reads netlink route information
Needs to resolve dns names
Some one said it needs mls_file_write_all_levels -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjanHYACgkQrlYvE4MpobO9RQCgmvGqfFeFqipX8fDSR+Fmjm+P SDoAoLYHhVZEkjJxMNE3tHtvcHKZtJ7f
=Wwi6
-----END PGP SIGNATURE-----
Quoted 6 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_smartmon.patch
Add initrc script support
allow admin to start/stop service
Quoted 7 lines
Admin needs
admin_patternon all file typessmarmon reads netlink route information
Needs to resolve dns names
Some one said it needs
mls_file_write_all_levels
Merged except for the MLS bit. Shouldn't it instead be running at system high? Its purpose is to monitor the disks which are all system high.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 11 lines · Christopher J. PeBenito
Quoted 10 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_smartmon.patch
Add initrc script support
allow admin to start/stop service
Admin needs
admin_patternon all file typessmarmon reads netlink route information
Quoted 8 lines
Quoted 3 lines
Needs to resolve dns names
Some one said it needs
mls_file_write_all_levelsMerged except for the MLS bit. Shouldn't it instead be running at system high? Its purpose is to monitor the disks which are all system high.
Updated smartmon patch to run at system_high, also latest fsdaemon creates devices.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjtViQACgkQrlYvE4MpobNrEwCgzm58ptokqlQ4Dgg8ENYoqbmA FpEAoJNmQLI/l/qMBqa2UZfB6x9tANoy
=PR9l
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: services_smartmon.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20081008/84211391/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: services_smartmon.patch.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20081008/84211391/attachment.obj
Quoted 14 lines · Daniel J Walsh
Quoted 13 lines · Christopher J. PeBenito
Quoted 12 lines · Daniel J Walsh
http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_smartmon.patch
Add initrc script support
allow admin to start/stop service
Admin needs
admin_patternon all file typessmarmon reads netlink route information
Needs to resolve dns names
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Some one said it needs
mls_file_write_all_levelsMerged except for the MLS bit. Shouldn't it instead be running at system high? Its purpose is to monitor the disks which are all system high.
Updated smartmon patch to run at
system_high, also latest fsdaemon creates devices.
I don't see a range transition. Also, if its running at system high, does it still need the mls_file_write_all_levels()?
Quoted 31 lines
plain text document attachment (services_smartmon.patch)
policy/modules/services/smartmon.te +9
-1@@ -26,7 +26,7 @@ allow fsdaemon_t self:capability { setgid sys_rawio sys_admin }; dontaudit fsdaemon_t self:capability sys_tty_config; -allow fsdaemon_t self:process signal_perms; +allow fsdaemon_t self:process { signal_perms setfscreate }; allow fsdaemon_t self:fifo_file rw_fifo_file_perms; allow fsdaemon_t self:unix_dgram_socket create_socket_perms; allow fsdaemon_t self:unix_stream_socket create_stream_socket_perms;@@ -66,6 +66,7 @@ fs_search_auto_mountpoints(fsdaemon_t) mls_file_read_all_levels(fsdaemon_t) +mls_file_write_all_levels(fsdaemon_t) storage_raw_read_fixed_disk(fsdaemon_t) storage_raw_write_fixed_disk(fsdaemon_t)@@ -99,3 +100,10 @@ optional_policy(` udev_read_db(fsdaemon_t) ') + +dev_del_entry_generic_dirs(fsdaemon_t) +storage_dev_filetrans_fixed_disk(fsdaemon_t) +storage_manage_fixed_disk(fsdaemon_t) +seutil_read_file_contexts(fsdaemon_t) +selinux_validate_context(fsdaemon_t) +
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The patch has been updated. to transition to system_high -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkj0tRoACgkQrlYvE4MpobMPAQCgzTB/Fr5XSy/hHglaR8RikibI okgAoIsZHJXD4KgZ5B7I9KB0k44qMwBi
=zg3f
-----END PGP SIGNATURE-----