Skip to content

Commit

Permalink
confined: allow asynchronous I/O operations
Browse files Browse the repository at this point in the history
Signed-off-by: Vit Mojzis <[email protected]>
  • Loading branch information
vmojzis committed Mar 4, 2024
1 parent f411c14 commit 131d228
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions udica/macros/confined_user_macros.cil
Original file line number Diff line number Diff line change
Expand Up @@ -4012,6 +4012,13 @@
(allow remote_login_t utype (process (signal transition)))
(allow utype self (bpf (prog_load)))
)
; asynchronous I/O operations RHEL 10
(optional confinedom_user_login_optional_4
(typeattributeset cil_gen_require io_uring_t)
(allow utype self (io_uring (sqpoll)))
(allow utype io_uring_t (anon_inode (create)))
(allow utype io_uring_t (anon_inode (read write getattr map)))
)
)

(macro confined_ssh_connect_macro ((type utype) (role urole) (type ssh_agent_type))
Expand Down

0 comments on commit 131d228

Please sign in to comment.