commit | 24420190611e6a02b61eb332898e0ff988f71a7f | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Wed Oct 21 11:22:58 2020 +0200 |
committer | Jeff Vander Stoep <jeffv@google.com> | Wed Oct 21 11:22:58 2020 +0200 |
tree | 4aa624a337c94e797c87157ee4bee4bb1626c7a8 | |
parent | 766ad4462a0d32a5b6fbe4f5078cee5e65463bf5 [diff] |
init: allow LOOP_GET_STATUS ioctl on loop device This is needed here: https://android.googlesource.com/platform/system/core/+/refs/heads/master/init/builtins.cpp#494 Bug: 170934466 Test: TH Change-Id: I8e6d06cae42d68182e9cca29723f0b16ff413b7c
diff --git a/public/init.te b/public/init.te index f84bacb..805d9c2 100644 --- a/public/init.te +++ b/public/init.te
@@ -412,6 +412,7 @@ LOOP_CTL_GET_FREE LOOP_SET_BLOCK_SIZE LOOP_SET_DIRECT_IO + LOOP_GET_STATUS }; # Allow init to write to vibrator/trigger