selinux-policy/refpolicy/policy/modules/system/locallogin.if

29 lines
601 B
Plaintext
Raw Normal View History

2005-04-28 19:50:58 +00:00
# Copyright (C) 2005 Tresys Technology, LLC
#######################################
#
# locallogin_transition(domain)
2005-04-28 19:50:58 +00:00
#
define(`locallogin_transition',`
requires_block_template(`$0'_depend)
authlogin_login_program_transition($1,local_login_t)
2005-04-28 19:50:58 +00:00
')
define(`locallogin_transition_depend',`
type local_login_t;
2005-04-28 19:50:58 +00:00
')
########################################
#
# locallogin_use_file_descriptors(domain)
#
define(`locallogin_use_file_descriptors',`
requires_block_template(`$0'_depend)
allow $1 local_login_t:fd use;
')
define(`locallogin_use_file_descriptors_depend',`
type local_login_t;
class fd use;
')