From 0a274a4e839dbbcf02c3c8045302ca728228cf3e Mon Sep 17 00:00:00 2001 From: Carlos Galo Date: Thu, 11 Apr 2024 22:37:39 +0000 Subject: [PATCH] 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 --- private/lmkd.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/lmkd.te b/private/lmkd.te index 8d225523c..5369c7990 100644 --- a/private/lmkd.te +++ b/private/lmkd.te @@ -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