Research
.
Skip Search Box

SELinux Mailing List

admin_readahead changes

From: dwalsh_at_redhat.com
Date: Wed, 30 May 2007 11:24:45 -0400


Readahead needs access to raw disk in order for it to run fast

  • nsaserefpolicy/policy/modules/admin/readahead.te 2007-05-29 14:10:59.000000000 -0400
    +++ serefpolicy-3.0.1/policy/modules/admin/readahead.te 2007-05-30 09:25:53.000000000 -0400
    @@ -18,7 +18,8 @@ # Local policy #

-dontaudit readahead_t self:capability { dac_override dac_read_search sys_tty_config };
+allow readahead_t self:capability { dac_override dac_read_search };
+dontaudit readahead_t self:capability sys_tty_config;
 allow readahead_t self:process signal_perms;  

 manage_files_pattern(readahead_t,readahead_var_run_t,readahead_var_run_t) @@ -36,7 +37,7 @@

 dev_dontaudit_read_all_blk_files(readahead_t)
 dev_dontaudit_getattr_memory_dev(readahead_t)
 dev_dontaudit_getattr_nvram_dev(readahead_t)
-storage_dontaudit_getattr_fixed_disk_dev(readahead_t)
+storage_raw_read_fixed_disk(readahead_t)
 

 domain_use_interactive_fds(readahead_t)  

@@ -76,3 +77,7 @@
 optional_policy(`

         seutil_sigchld_newrole(readahead_t)
 ')
+
+optional_policy(`
+ logging_dontaudit_search_audit_config(readahead_t)
+')

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Wed 30 May 2007 - 13:37:00 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service