Skip to content

Commit

Permalink
Cleanup entrypoint definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan authored and lsm5 committed May 11, 2023
1 parent 4bd4b83 commit c9cac6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions container.te
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ ps_process_pattern(container_runtime_domain, spc_t)
allow container_runtime_domain spc_t:socket_class_set { relabelto relabelfrom };
allow spc_t unlabeled_t:key manage_key_perms;
allow spc_t unlabeled_t:socket_class_set create_socket_perms;
allow spc_t exec_type:file entrypoint;
allow spc_t fusefs_t:file entrypoint;
fs_fusefs_entrypoint(spc_t)
corecmd_entrypoint_all_executables(spc_t)

init_dbus_chat(spc_t)

Expand Down Expand Up @@ -1470,7 +1470,7 @@ allow container_domain container_file_t:file entrypoint;
allow container_domain container_ro_file_t:file { entrypoint execmod execute execute_no_trans getattr ioctl lock map open read };
allow container_domain container_var_lib_t:file entrypoint;
allow container_domain fusefs_t:file { append create entrypoint execmod execute execute_no_trans getattr ioctl link lock map mounton open read rename setattr unlink watch watch_reads write };
allow container_kvm_t bin_t:file entrypoint;
allow container_kvm_t usr_t:file entrypoint;

corecmd_entrypoint_all_executables(container_kvm_t)
allow svirt_sandbox_domain exec_type:file { entrypoint execute execute_no_trans getattr ioctl lock map open read };
allow svirt_sandbox_domain mountpoint:file entrypoint;

0 comments on commit c9cac6c

Please sign in to comment.