]> git.ipfire.org Git - people/stevee/selinux-policy.git/blobdiff - policy/modules/admin/backup.if
Remove module for amtu.
[people/stevee/selinux-policy.git] / policy / modules / admin / backup.if
index 64beebead7de43185d86ca3c7b02968bba46f64b..1017b7aac95bdf558fb962791e9771e76b0a9209 100644 (file)
@@ -6,7 +6,7 @@
 ## </summary>
 ## <param name="domain">
 ##     <summary>
-##     Domain allowed access.
+##     Domain allowed to transition.
 ##     </summary>
 ## </param>
 #
@@ -15,10 +15,7 @@ interface(`backup_domtrans',`
                type backup_t, backup_exec_t;
        ')
 
-       domain_auto_trans($1,backup_exec_t,backup_t)
-       allow backup_t $1:fd use;
-       allow backup_t $1:fifo_file rw_file_perms;
-       allow backup_t $1:process sigchld;
+       domtrans_pattern($1, backup_exec_t, backup_t)
 ')
 
 ########################################
@@ -28,19 +25,15 @@ interface(`backup_domtrans',`
 ## </summary>
 ## <param name="domain">
 ##     <summary>
-##     The type of the process performing this action.
+##     Domain allowed to transition.
 ##     </summary>
 ## </param>
 ## <param name="role">
 ##     <summary>
-##     The role to be allowed the backup domain.
-##     </summary>
-## </param>
-## <param name="terminal">
-##     <summary>
-##     Domain allowed access.
+##     Role allowed access.
 ##     </summary>
 ## </param>
+## <rolecap/>
 #
 interface(`backup_run',`
        gen_require(`
@@ -49,5 +42,4 @@ interface(`backup_run',`
 
        backup_domtrans($1)
        role $2 types backup_t;
-       allow backup_t $3:chr_file rw_term_perms;
 ')