2005-04-28 19:50:58 +00:00
|
|
|
# Copyright (C) 2005 Tresys Technology, LLC
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|
2005-05-04 13:19:47 +00:00
|
|
|
# locallogin_transition(domain)
|
2005-04-28 19:50:58 +00:00
|
|
|
#
|
|
|
|
define(`locallogin_transition',`
|
2005-05-04 13:19:47 +00:00
|
|
|
requires_block_template(`$0'_depend)
|
2005-05-24 20:45:27 +00:00
|
|
|
authlogin_login_program_transition($1,local_login_t)
|
2005-04-28 19:50:58 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
define(`locallogin_transition_depend',`
|
2005-05-24 20:45:27 +00:00
|
|
|
type local_login_t;
|
2005-04-28 19:50:58 +00:00
|
|
|
')
|
2005-05-03 20:23:33 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
2005-05-04 13:19:47 +00:00
|
|
|
# locallogin_use_file_descriptors(domain)
|
2005-05-03 20:23:33 +00:00
|
|
|
#
|
|
|
|
define(`locallogin_use_file_descriptors',`
|
2005-05-04 13:19:47 +00:00
|
|
|
requires_block_template(`$0'_depend)
|
2005-05-03 20:23:33 +00:00
|
|
|
allow $1 local_login_t:fd use;
|
|
|
|
')
|
|
|
|
|
|
|
|
define(`locallogin_use_file_descriptors_depend',`
|
|
|
|
type local_login_t;
|
|
|
|
class fd use;
|
|
|
|
')
|