mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-21 23:47:39 +00:00
b191a14a23
This commit updates sepol_impl::add_xperm_rule() so that it loads the current xperm bits from the existing avtab entry before setting or clearing xperm bits. This fixes new allowxperm rules causing old xperm rules within the same xperm specified/driver to be removed. Fixes: #7176 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>