lmkd: Adding io_uring support

Allow for lmkd to create and manage an io_uring interface. This is
required to integrate async syscalls between lmkd and the kernel.

Test: m
Bug: 325525024
Change-Id: I91d96176cd8b00a2ded16560c5482d50a807d3ad
Signed-off-by: Carlos Galo <carlosgalo@google.com>
This commit is contained in:
Carlos Galo 2024-04-11 22:37:39 +00:00
parent 07dc4933ac
commit 0a274a4e83

View file

@ -86,6 +86,9 @@ allow lmkd lmkd_socket:sock_file write;
# Allow lmkd to write to statsd.
unix_socket_send(lmkd, statsdw, statsd)
# Allow lmkd to create io_uring
allow lmkd self:anon_inode { create map read write };
### neverallow rules
# never honor LD_PRELOAD