Skip to content

Commit

Permalink
Merge pull request #824 from SELinuxProject/revert-822-init-systemd-f…
Browse files Browse the repository at this point in the history
…ixes

Revert "systemd: Fix systemd_write_notify_socket()."
  • Loading branch information
pebenito authored Oct 22, 2024
2 parents dcd44ff + 66c088b commit 10d3380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions policy/modules/system/init.if
Original file line number Diff line number Diff line change
Expand Up @@ -1020,12 +1020,12 @@ interface(`init_unix_stream_socket_connectto',`
## </summary>
## </param>
#
interface(`init_unix_dgram_socket_sendto',`
interface(`init_unix_stream_socket_sendto',`
gen_require(`
type init_t;
')

allow $1 init_t:unix_dgram_socket sendto;
allow $1 init_t:unix_stream_socket sendto;
')

########################################
Expand Down
2 changes: 1 addition & 1 deletion policy/modules/system/systemd.if
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ interface(`systemd_write_notify_socket',`
')

init_list_runtime($1)
init_unix_dgram_socket_sendto($1)
init_unix_stream_socket_sendto($1)
allow $1 systemd_runtime_notify_t:sock_file write_sock_file_perms;
')

Expand Down

0 comments on commit 10d3380

Please sign in to comment.