Skip to content

Commit a921a10

Browse files
committed
Add BBG Enhanced Security patch
1 parent 76938ac commit a921a10

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,14 @@ runs:
905905
fi
906906
echo "CONFIG_BBG=y" >> common/arch/arm64/configs/gki_defconfig
907907
sed -i '/^config LSM$/,/^help$/{ /^[[:space:]]*default/ { /baseband_guard/! s/selinux/selinux,baseband_guard/ } }' common/security/Kconfig
908+
909+
if [ "${{ inputs.ksu_type }}" = "KSUN" ]; then
910+
cd ./KernelSU-Next
911+
else
912+
cd ./KernelSU
913+
fi
914+
915+
patch -p1 --forward < "../../../kernel_patches/common/bbg_untrusted_cred.patch"
908916
echo "✅ BBG LSM added"
909917
echo "::endgroup::"
910918

0 commit comments

Comments
 (0)