-
-
Notifications
You must be signed in to change notification settings - Fork 176
feat(filesystem): 实现 pivot_root 系统调用 #1766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(filesystem): 实现 pivot_root 系统调用 #1766
Conversation
实现完整的 pivot_root(2) 系统调用,支持容器根文件系统切换。 主要功能: - 新增 sys_pivot_root.rs,实现 Linux 兼容的 pivot_root 语义 - MountFS 增加 bind_target_root 支持,正确处理 bind mount 场景 - 挂载命名空间增加旧根挂载点管理,支持 pivot_root 后卸载 - umount2 增加对当前目录卸载的特殊处理 Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com>
|
@claude review |
|
Claude finished @sparkzky's task in 7m 1s —— View job PR Review: pivot_root system call implementationI've completed my review of the PR implementing the Todo List:
Overall AssessmentThis is a well-implemented feature that adds Linux-compatible Strengths
Issues and Recommendations1. Code Duplication -
|
实现完整的 pivot_root(2) 系统调用,支持容器根文件系统切换。
主要功能: