+## This is a templated interface, and should only
+## be called from a per-userdomain template.
+##
+##
+##
+## The prefix of the user domain (e.g., user
+## is the prefix for user_t).
+##
+##
+## Domain allowed access.
+##
+#
+template(`userdom_setattr_user_pty',`
+ ifdef(`strict_policy',`
+ gen_require(`
+ type $1_devpts_t;
+ ')
+
+ allow $2 $1_devpts_t:chr_file setattr;
+ ')
+')
+
+########################################
+##
## Create a user pty.
##
##