trunk: two small patches from dan.

This commit is contained in:
Chris PeBenito 2008-08-14 13:08:53 +00:00
parent 9acf481bd0
commit 6e328912ac
4 changed files with 24 additions and 3 deletions

View File

@ -1,5 +1,5 @@
policy_module(amanda, 1.9.1) policy_module(amanda, 1.9.2)
####################################### #######################################
# #
@ -223,6 +223,7 @@ files_search_pids(amanda_recover_t)
auth_use_nsswitch(amanda_recover_t) auth_use_nsswitch(amanda_recover_t)
fstools_domtrans(amanda_t) fstools_domtrans(amanda_t)
fstools_signal(amanda_t)
libs_use_ld_so(amanda_recover_t) libs_use_ld_so(amanda_recover_t)
libs_use_shared_libs(amanda_recover_t) libs_use_shared_libs(amanda_recover_t)

View File

@ -1,4 +1,4 @@
policy_module(brctl, 1.2.0) policy_module(brctl, 1.2.1)
######################################## ########################################
# #
@ -33,6 +33,8 @@ domain_use_interactive_fds(brctl_t)
files_read_etc_files(brctl_t) files_read_etc_files(brctl_t)
term_dontaudit_use_console(brctl_t)
libs_use_ld_so(brctl_t) libs_use_ld_so(brctl_t)
libs_use_shared_libs(brctl_t) libs_use_shared_libs(brctl_t)

View File

@ -69,6 +69,24 @@ interface(`fstools_exec',`
can_exec($1,fsadm_exec_t) can_exec($1,fsadm_exec_t)
') ')
########################################
## <summary>
## Send signal to fsadm process
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`fstools_signal',`
gen_require(`
type fsadm_t;
')
allow $1 fsadm_t:process signal;
')
######################################## ########################################
## <summary> ## <summary>
## Read fstools unnamed pipes. ## Read fstools unnamed pipes.

View File

@ -1,5 +1,5 @@
policy_module(fstools,1.10.0) policy_module(fstools, 1.10.1)
######################################## ########################################
# #