forked from pool/selinux-policy
b3cf18cf4d
big toolchain update, please stage together. so versions change, so this has high potential to break stuff. Probably best to stage it isolated OBS-URL: https://build.opensuse.org/request/show/878582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=8
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
Index: fedora-policy-20210309/policy/modules/admin/usermanage.te
|
|
===================================================================
|
|
--- fedora-policy-20210309.orig/policy/modules/admin/usermanage.te
|
|
+++ fedora-policy-20210309/policy/modules/admin/usermanage.te
|
|
@@ -226,6 +226,7 @@ allow groupadd_t self:unix_dgram_socket
|
|
allow groupadd_t self:unix_stream_socket create_stream_socket_perms;
|
|
allow groupadd_t self:unix_dgram_socket sendto;
|
|
allow groupadd_t self:unix_stream_socket connectto;
|
|
+allow groupadd_t self:netlink_selinux_socket create_socket_perms;
|
|
|
|
fs_getattr_xattr_fs(groupadd_t)
|
|
fs_search_auto_mountpoints(groupadd_t)
|
|
@@ -529,6 +530,7 @@ allow useradd_t self:unix_dgram_socket c
|
|
allow useradd_t self:unix_stream_socket create_stream_socket_perms;
|
|
allow useradd_t self:unix_dgram_socket sendto;
|
|
allow useradd_t self:unix_stream_socket connectto;
|
|
+allow useradd_t self:netlink_selinux_socket create_socket_perms;
|
|
|
|
manage_dirs_pattern(useradd_t, useradd_var_run_t, useradd_var_run_t)
|
|
manage_files_pattern(useradd_t, useradd_var_run_t, useradd_var_run_t)
|
|
@@ -537,6 +539,8 @@ files_pid_filetrans(useradd_t, useradd_v
|
|
# for getting the number of groups
|
|
kernel_read_kernel_sysctls(useradd_t)
|
|
|
|
+selinux_compute_access_vector(useradd_t)
|
|
+
|
|
corecmd_exec_shell(useradd_t)
|
|
# Execute /usr/bin/{passwd,chfn,chsh} and /usr/sbin/{useradd,vipw}.
|
|
corecmd_exec_bin(useradd_t)
|