|
|
@@ -111,7 +111,7 @@ runs:
|
|
|
run: |
|
|
|
if [ "$(printf '%s\n' "6.6" "$KERNEL_VER" | sort -V | head -n1)" = "6.6" ]; then
|
|
|
echo "[*] KVER $KERNEL_VER >= 6.6, stripping static from with_policy helpers"
|
|
|
- for f in $(find "$COMMON" -name selinux_hide.c 2>/dev/null); do
|
|
|
+ for f in $(find -L "$COMMON" -name selinux_hide.c 2>/dev/null); do
|
|
|
if grep -q "^static int security_context_to_sid_with_policy" "$f"; then
|
|
|
echo "[*] Stripping static from $f helpers"
|
|
|
sed -i 's/^static int security_context_to_sid_with_policy/int security_context_to_sid_with_policy/g' "$f"
|