Эх сурвалжийг харах

ci(workflows): uncomment sed command in build workflow

The sed command was previously commented out but is needed to properly handle user namespace mapping in susfs.c. This ensures correct uid translation when mounting filesystems.
TheWildJames 9 сар өмнө
parent
commit
26a23b7acf

+ 1 - 1
.github/workflows/build.yml

@@ -354,7 +354,7 @@ jobs:
                 patch -p1 < fix_namespace.c.patch || true
                 cp $KERNEL_PATCHES/ksu/susfs_fix_patches/v${SUSFS_VERSION}/fix_open.c.patch ./
                 patch -p1 < fix_open.c.patch || true
-                #sed -i 's/i_uid_into_mnt(i_user_ns(inode), inode)/i_uid_into_mnt(inode->i_sb->s_user_ns, inode)/g' fs/susfs.c
+                sed -i 's/i_uid_into_mnt(i_user_ns(inode), inode)/i_uid_into_mnt(inode->i_sb->s_user_ns, inode)/g' fs/susfs.c
               fi
               ;;
           esac