|
@@ -1,10 +1,15 @@
|
|
|
name: 'Enable SUSFS Kernel Configs'
|
|
name: 'Enable SUSFS Kernel Configs'
|
|
|
description: 'Enable SUSFS-related kernel configuration options'
|
|
description: 'Enable SUSFS-related kernel configuration options'
|
|
|
|
|
+inputs:
|
|
|
|
|
+ nomount_enabled:
|
|
|
|
|
+ description: 'Set true when NoMount is integrated (disables SUSFS OPEN_REDIRECT to avoid overlapping hook overhead)'
|
|
|
|
|
+ required: false
|
|
|
|
|
+ default: "false"
|
|
|
|
|
|
|
|
runs:
|
|
runs:
|
|
|
using: "composite"
|
|
using: "composite"
|
|
|
steps:
|
|
steps:
|
|
|
- - name: Enable Kernel Configs
|
|
|
|
|
|
|
+ - name: Enable SUSFS Kernel Configs
|
|
|
uses: ./.github/actions/set-kernel-config
|
|
uses: ./.github/actions/set-kernel-config
|
|
|
with:
|
|
with:
|
|
|
config_list: |
|
|
config_list: |
|
|
@@ -16,5 +21,18 @@ runs:
|
|
|
CONFIG_KSU_SUSFS_ENABLE_LOG=y
|
|
CONFIG_KSU_SUSFS_ENABLE_LOG=y
|
|
|
CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y
|
|
CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y
|
|
|
CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y
|
|
CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y
|
|
|
- CONFIG_KSU_SUSFS_OPEN_REDIRECT=y
|
|
|
|
|
CONFIG_KSU_SUSFS_SUS_MAP=y
|
|
CONFIG_KSU_SUSFS_SUS_MAP=y
|
|
|
|
|
+
|
|
|
|
|
+ - name: Enable SUSFS Open Redirect (no NoMount)
|
|
|
|
|
+ if: ${{ inputs.nomount_enabled != 'true' }}
|
|
|
|
|
+ uses: ./.github/actions/set-kernel-config
|
|
|
|
|
+ with:
|
|
|
|
|
+ config_list: |
|
|
|
|
|
+ CONFIG_KSU_SUSFS_OPEN_REDIRECT=y
|
|
|
|
|
+
|
|
|
|
|
+ - name: Disable SUSFS Open Redirect (NoMount integrated)
|
|
|
|
|
+ if: ${{ inputs.nomount_enabled == 'true' }}
|
|
|
|
|
+ uses: ./.github/actions/set-kernel-config
|
|
|
|
|
+ with:
|
|
|
|
|
+ config_list: |
|
|
|
|
|
+ CONFIG_KSU_SUSFS_OPEN_REDIRECT=n
|