Skip to content

Commit

Permalink
fixup! WIP: se: allow rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dsseng committed Nov 21, 2024
1 parent 4235c61 commit ebd6bac
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion internal/pkg/selinux/policy/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/usr/lib(/.*)? system_u:object_r:lib_t:s0
/usr/sbin(/.*)? system_u:object_r:sbin_exec_t:s0
/etc/selinux(/.*)? system_u:object_r:selinux_conf_t:s0
/opt/cni/bin(/.*)? system_u:object_r:cri_plugin_bin_t:s0
/usr/libexec(/.*)? system_u:object_r:bin_t:s0
/lib/firmware(/.*)? system_u:object_r:firmware_t:s0
/usr/lib/udev(/.*)? system_u:object_r:udev_exec_t:s0
Expand Down
Binary file modified internal/pkg/selinux/policy/policy.33
Binary file not shown.
6 changes: 0 additions & 6 deletions internal/pkg/selinux/policy/selinux/services/cri.cil
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,3 @@

; FIXME: add context for kube services
(allow pod_p kube_secret_f (fs_classes (rw)))

; CNI and other plugins
(type cri_plugin_bin_t)
(call system_f (cri_plugin_bin_t))
(filecon "/opt/cni/bin(/.*)?" any (system_u object_r cri_plugin_bin_t (systemLow systemLow)))
(allow pod_containerd_t cri_plugin_bin_t (file (execute_no_trans)))

0 comments on commit ebd6bac

Please sign in to comment.