Skip to content

ReliefNT:补齐 systemd 与 glibc 用户态的内核支持 - #49

Merged
Leonmmcoset merged 97 commits into
mainfrom
rewrite/new-os
Dec 2, 2026
Merged

Leonmmcoset merged 97 commits into
mainfrom
rewrite/new-os

Conversation

@VasilyZa

@VasilyZa VasilyZa commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

问题与效果

为 ReliefOS 的 glibc、pacman 和 systemd 迁移提供内核基础,使官方 systemd、udev、logind、networkd 和 dracut 能走标准 Linux 接口。

流程与实现

  • 增加共享可写 devtmpfs、按实例隔离的 devpts、Unix98 PTY 及设备生命周期通知。
  • 实现 cgroup v2 核心和 pids 控制器,支持子树委派和 CPU 用量统计。
  • 补齐递归 bind、挂载传播、逐挂载只读、lazy unmount,以及 mount、user、UTS、network namespaces 所需的接口与权限检查。
  • 补齐 procfs、sysfs、netlink、网络和文件系统兼容性;支持 dracut 生成的 CPIO,优化设备枚举、ext4 元数据写入与启动路径,移除已退役的私有用户态接口和 musl 测试入口。

验证

  • 430c7b08 的 ReliefNT CI 已通过。
  • BIOS/UEFI 安装、签名内核升级和启动回退由配套 ReliefOS PR 的整机 CI 验证;VMware 验收尚未完成。

兼容性与发布影响

配套 ReliefOS 分支的 gitlink 固定为 430c7b080a3db6238fb0047ddf251fb3fd47f3a7。请先处理本 PR 再合并 ReliefOS;若使用 squash 或 rebase 导致父仓所引用的提交不在 ReliefNT main 的历史中,请先同步父仓 gitlink 并重新跑整机 CI。

Bound stalled connections in clean CI builds and try the alternate locked HTTPS URL on transport failure. Both sources must match the same pinned SHA-256 before the font is cached.
@Leonmmcoset
Leonmmcoset merged commit 0b88455 into main Dec 2, 2026
2 checks passed
@Leonmmcoset
Leonmmcoset deleted the rewrite/new-os branch December 2, 2026 23:06
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.

2 participants