Skip to content

Commit 14ce914

Browse files
committed
Add Support for CMD_SUSFS_HIDE_SUS_MNTS_FOR_ALL_PROCS for all kernels.
1 parent 645b7c2 commit 14ce914

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ jobs:
181181
fi
182182
patch -p1 < 50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
183183
184+
if ! grep -qxF '#define CMD_SUSFS_HIDE_SUS_MNTS_FOR_ALL_PROCS 0x55561' ./include/linux/susfs_def.h; then
185+
curl -Ls https://raw.githubusercontent.com/fatalcoder524/kernel_patches_additional/refs/heads/main/hide_sus_mnts_for_all_procs.patch | patch -p1 -F 3
186+
else
187+
echo "Line already present. Skipping SUSFS_HIDE_SUS_MNTS_FOR_ALL_PROCS Patch."
188+
fi
189+
184190
KERNEL_VERSION="${{ inputs.kernel_version }}"
185191
MIN_VERSION="5.16"
186192

0 commit comments

Comments
 (0)