2006-04-27 18:11:26 +00:00
|
|
|
|
2007-09-28 13:58:24 +00:00
|
|
|
policy_module(authbind,1.1.0)
|
2006-04-27 18:11:26 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type authbind_t;
|
|
|
|
type authbind_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_domain(authbind_t,authbind_exec_t)
|
2006-04-27 18:11:26 +00:00
|
|
|
role system_r types authbind_t;
|
|
|
|
|
|
|
|
type authbind_etc_t;
|
|
|
|
files_config_file(authbind_etc_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow authbind_t self:capability net_bind_service;
|
|
|
|
|
2006-12-12 20:08:08 +00:00
|
|
|
allow authbind_t authbind_etc_t:dir list_dir_perms;
|
|
|
|
exec_files_pattern(authbind_t,authbind_etc_t,authbind_etc_t)
|
|
|
|
read_lnk_files_pattern(authbind_t,authbind_etc_t,authbind_etc_t)
|
|
|
|
|
2006-04-27 18:11:26 +00:00
|
|
|
files_list_etc(authbind_t)
|
|
|
|
|
|
|
|
term_use_console(authbind_t)
|
|
|
|
|
|
|
|
logging_send_syslog_msg(authbind_t)
|
|
|
|
|
|
|
|
libs_use_ld_so(authbind_t)
|
|
|
|
libs_use_shared_libs(authbind_t)
|