Add labels for /lib/readahead.

Add back gnome_setattr interface
This commit is contained in:
Dan Walsh 2010-09-13 16:15:43 -04:00
parent 5ef740e54b
commit 4251ae1004
2 changed files with 20 additions and 0 deletions

View File

@ -408,6 +408,25 @@ interface(`gnome_search_gconf',`
userdom_search_user_home_dirs($1)
')
########################################
## <summary>
## Set attributes of Gnome config dirs.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`gnome_setattr_config_dirs',`
gen_require(`
type gnome_home_t;
')
setattr_dirs_pattern($1, gnome_home_t, gnome_home_t)
files_search_home($1)
')
########################################
## <summary>
## Append gconf home files

View File

@ -134,6 +134,7 @@ ifdef(`distro_gentoo',`
/lib/rcscripts/net\.modules\.d/helpers\.d/dhclient-.* -- gen_context(system_u:object_r:bin_t,s0)
/lib/rcscripts/net\.modules\.d/helpers\.d/udhcpc-.* -- gen_context(system_u:object_r:bin_t,s0)
')
/lib/readahead(/.*)? gen_context(system_u:object_r:bin_t,s0)
/lib/upstart(/.*)? gen_context(system_u:object_r:bin_t,s0)
#