summaryrefslogtreecommitdiff
path: root/policy/modules/system/userdomain.if
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2006-11-29 13:44:40 +0000
committerChris PeBenito <cpebenito@tresys.com>2006-11-29 13:44:40 +0000
commit563e58e863870c1e71538fd1e71a02985aadb403 (patch)
tree8f845f6f81730d4fba5a23a978f172fb09a50b36 /policy/modules/system/userdomain.if
parentbff907113d1978edab89dbf36db98b40070a57b7 (diff)
patch from dan for some missing gen_require()s
Diffstat (limited to 'policy/modules/system/userdomain.if')
-rw-r--r--policy/modules/system/userdomain.if9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index c47a891b..96002f05 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -639,6 +639,9 @@ template(`userdom_role_change_template',`
## </param>
#
template(`userdom_common_user_template',`
+ gen_require(`
+ attribute unpriv_userdomain;
+ ')
userdom_base_user_template($1)
@@ -899,6 +902,11 @@ template(`userdom_common_user_template',`
## </param>
#
template(`userdom_unpriv_user_template', `
+
+ gen_require(`
+ attribute privhome, user_ptynode, user_home_dir_type, user_home_type, user_tmpfile, user_ttynode;
+ ')
+
##############################
#
# Declarations
@@ -1033,6 +1041,7 @@ template(`userdom_unpriv_user_template', `
#
template(`userdom_admin_user_template',`
gen_require(`
+ attribute admin_terminal, privhome;
class passwd { passwd chfn chsh rootok crontab };
')