Skip to content

fix: add SUSFS fallback to apply_cve_2026_43499.sh to prevent build errorindex - #59

Open
ue235t wants to merge 3 commits into
Xiaomichael:Buildfrom
ue235t:fix/susfs-fallback-8821
Open

fix: add SUSFS fallback to apply_cve_2026_43499.sh to prevent build errorindex#59
ue235t wants to merge 3 commits into
Xiaomichael:Buildfrom
ue235t:fix/susfs-fallback-8821

Conversation

@ue235t

@ue235t ue235t commented Jul 19, 2026

Copy link
Copy Markdown

When the rtmutex scoped_guard/raw_spinlock backport patch rejects, fs/proc/base.c can be left referring to SUSFS macros that are not declared, causing a compile error. This change adds a temporary mitigation: when the patch fails the script will insert #include <linux/susfs.h> (if present) or conservative inline fallback stubs for SUSFS_IS_INODE_OPEN_REDIRECT and SUSFS_IS_INODE_SUS_MAP. This is a temporary workaround — follow-up work should rebase/regenerate the patch for the CI kernel commit and remove the fallbacks once the real SUSFS header/definitions are present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant