Skip to content

Commit

Permalink
Update qatlib policy for v24.02 with new features
Browse files Browse the repository at this point in the history
  • Loading branch information
zpytela committed Aug 6, 2024
1 parent 20c4552 commit 86fc937
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion policy/modules/contrib/qatlib.te
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ files_pid_filetrans(qatlib_t, qatlib_var_run_t, { dir file sock_file } )
kernel_load_module(qatlib_t)
kernel_read_proc_files(qatlib_t)
kernel_request_load_module(qatlib_t)
kernel_stream_connect(qatlib_t)

corecmd_exec_shell(qatlib_t)
corecmd_exec_bin(qatlib_t)

dev_create_sysfs_files(qatlib_t)
dev_getattr_generic_chr_files(qatlib_t)

dev_rw_sysfs(qatlib_t)
dev_rw_vfio_dev(qatlib_t)
dev_setattr_vfio_dev(qatlib_t)
Expand All @@ -58,6 +61,10 @@ optional_policy(`
auth_read_passwd_file(qatlib_t)
')

optional_policy(`
gnome_read_generic_cache_files(qatlib_t)
')

optional_policy(`
miscfiles_read_hwdata(qatlib_t)
miscfiles_read_localization(qatlib_t)
Expand All @@ -75,5 +82,5 @@ optional_policy(`

optional_policy(`
systemd_search_unit_dirs(qatlib_t)
systemd_userdbd_stream_connect(qatlib_t)
')

0 comments on commit 86fc937

Please sign in to comment.