|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
29af4c |
policy_module(fprintd, 1.1.0)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
########################################
|
|
Chris PeBenito |
20c3cc |
#
|
|
Chris PeBenito |
20c3cc |
# Declarations
|
|
Chris PeBenito |
20c3cc |
#
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
type fprintd_t;
|
|
Chris PeBenito |
20c3cc |
type fprintd_exec_t;
|
|
Chris PeBenito |
20c3cc |
dbus_system_domain(fprintd_t, fprintd_exec_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
type fprintd_var_lib_t;
|
|
Chris PeBenito |
20c3cc |
files_type(fprintd_var_lib_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
########################################
|
|
Chris PeBenito |
20c3cc |
#
|
|
Chris PeBenito |
20c3cc |
# Local policy
|
|
Chris PeBenito |
20c3cc |
#
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
allow fprintd_t self:capability sys_ptrace;
|
|
Chris PeBenito |
20c3cc |
allow fprintd_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
20c3cc |
allow fprintd_t self:process { getsched signal };
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
manage_dirs_pattern(fprintd_t, fprintd_var_lib_t, fprintd_var_lib_t)
|
|
Chris PeBenito |
20c3cc |
manage_files_pattern(fprintd_t, fprintd_var_lib_t, fprintd_var_lib_t)
|
|
Chris PeBenito |
20c3cc |
files_var_lib_filetrans(fprintd_t, fprintd_var_lib_t, { dir file })
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
kernel_read_system_state(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
corecmd_search_bin(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
dev_list_usbfs(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
dev_rw_generic_usb_dev(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
dev_read_sysfs(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
files_read_etc_files(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
files_read_usr_files(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
00808a |
fs_getattr_all_fs(fprintd_t)
|
|
Chris PeBenito |
00808a |
|
|
Chris PeBenito |
20c3cc |
auth_use_nsswitch(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
miscfiles_read_localization(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
userdom_use_user_ptys(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
userdom_read_all_users_state(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
optional_policy(`
|
|
Chris PeBenito |
20c3cc |
consolekit_dbus_chat(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
')
|
|
Chris PeBenito |
20c3cc |
|
|
Chris PeBenito |
20c3cc |
optional_policy(`
|
|
Chris PeBenito |
20c3cc |
policykit_read_reload(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
policykit_read_lib(fprintd_t)
|
|
Chris PeBenito |
00808a |
policykit_dbus_chat(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
policykit_domtrans_auth(fprintd_t)
|
|
Chris PeBenito |
20c3cc |
')
|