@@ -215,23 +215,12 @@ sid file gen_context(system_u:object_r:unlabeled_t,s0)
215215sid unlabeled gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
216216neverallow * unlabeled_t:file entrypoint;
217217
218- # These initial sids are no longer used, and can be removed:
218+ # Default socket label if no kernel sock is available
219219sid any_socket gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
220- sid file_labels gen_context(system_u: object_r :unlabeled_t,s 0 )
221- sid icmp_socket gen_context(system_u: object_r :unlabeled_t,mls_systemhigh)
222- sid igmp_packet gen_context(system_u: object_r :unlabeled_t,mls_systemhigh)
220+
221+ # Label for userspace tasks surviving from early boot if
222+ # userspace_initial_context policycap is defined.
223223sid init gen_context(system_u:object_r :unlabeled_t,s0 )
224- sid kmod gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
225- sid policy gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
226- sid scmp_packet gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
227- sid sysctl_modprobe gen_context(system_u:object_r :unlabeled_t,s0 )
228- sid sysctl_fs gen_context(system_u:object_r :unlabeled_t,s0 )
229- sid sysctl_kernel gen_context(system_u:object_r :unlabeled_t,s0 )
230- sid sysctl_net gen_context(system_u:object_r :unlabeled_t,s0 )
231- sid sysctl_net_unix gen_context(system_u:object_r :unlabeled_t,s0 )
232- sid sysctl_vm gen_context(system_u:object_r :unlabeled_t,s0 )
233- sid sysctl_dev gen_context(system_u:object_r :unlabeled_t,s0 )
234- sid tcp_socket gen_context(system_u:object_r :unlabeled_t,mls_systemhigh)
235224
236225# #######################################
237226#
0 commit comments