You can build Frida with Frida's latest SELinux update by following these steps:
Step 1: Clean the build and deps directories
rm -rf build depsStep 2: Update the SELinux configuration in the releng/deps.toml file
[selinux]
when = "machine.os == 'android'"
name = "SELinux Userspace"
version = "b7c8cd70d821bb3fc69500e6273149299b80b923"
url = "https://github.com/frida/selinux.git"
options = [
"-Dregex=disabled",
]Step 3: Run these commands BEFORE the configure step to rebuild SELinux
python3 releng/deps.py build --host android-arm64 --only selinux -v
rm -rf deps/src deps/sdk-android-arm64
mv deps/sdk-android-arm64.tar.xz deps/sdk-android-arm64.tar.xz.backupStep 4: Run these commands AFTER the configure step but BEFORE make to ensure the latest SELinux is used
tar -xf deps/sdk-android-arm64.tar.xz.backup -C deps/sdk-android-arm64 --strip-components=1Step 5: Run make to build Frida