Explorar el Código

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 hace 9 meses
padre
commit
26a23b7acf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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