mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-01 16:26:21 +00:00

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>