Skip to contentSkip to conversation

smartmon needs to be able to write to physical devices.

PATCH Daniel J Walsh 2 participants 2 messages Feb 20, 2007 – Feb 26, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Needs to write to SystemLow, for logs, tmp files.

policy/modules/services/smartmon.te +1 -0
@@ -60,6 +60,7 @@
 fs_search_auto_mountpoints(fsdaemon_t)
 
 mls_file_read_up(fsdaemon_t)
+mls_file_write_down(fsdaemon_t)
 
 storage_raw_read_fixed_disk(fsdaemon_t)
 storage_raw_write_fixed_disk(fsdaemon_t)
#1 lore raw
Quoted 1 line · Daniel J Walsh

Needs to write to SystemLow, for logs, tmp files.

I've been thinking about this for a while. Shouldn't this instead be running at system high since its purpose is to monitor the hard disks? It's temp files and pid files should also be at system high, and it doesn't have its own logs, it uses syslog.

Signature · 9 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.