فهرست منبع

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 ماه پیش
والد
کامیت
26a23b7acf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .github/workflows/build.yml

+ 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