瀏覽代碼

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