Skip to content

Commit

Permalink
docs(newsletter): these-weeks-in-loongarch-52: newfstatat is merged :(
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 authored and xen0n committed Aug 18, 2024
1 parent e6d9c1d commit 3c884d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newsletter/2024-06-25-these-weeks-in-loongarch-52.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TODO: amdgpu & LS7A drama [Icenowy]
- 即使不修改用户态,也已经做到几乎完全解决性能问题;如果修改用户态,使用空指针代替指向空串的指针,则可以完全解决性能问题。
- 对于沙箱问题,沙箱可以在 `SIGSYS` 处理函数中将使用空串的 `statx` 调用重写为使用空指针,然后在 seccomp BPF 程序中放行使用空指针的 `statx` 调用。

上述修改已合入 6.11 内核,至此可以认为该问题已被完全解决。然而,Huacai Chen 仍然[坚持](https://lore.kernel.org/loongarch/CAAhV-H7iKyQBvV+J9T1ekxh9OF8h=F9zp_QMyuhFBrFXGHHmTg@mail.gmail.com/)[重新引入](https://lore.kernel.org/loongarch/[email protected]/) `fstat` 和 `newfstatat` 系统调用。[xry111],Arnd Bergmann,以及 Christian Brauner [反对](https://lore.kernel.org/loongarch/20240703-bergwacht-sitzung-ef4f2e63cd70@brauner/)这一提议,[但是 Linus 的决定权也是很重要的](https://lore.kernel.org/loongarch/CAHk-=wi0ejJ=PCZfCmMKvsFmzvVzAYYt1K9vtwke4=arfHiAdg@mail.gmail.com/),因此预期 6.11 版本内核将为 LoongArch 重新引入这两个系统调用。我们不得不在下一个 Glibc 开发周期解决这一变化将导致的[兼容性问题](https://lore.kernel.org/loongarch/[email protected]/),并[修订](https://github.com/loongson-community/areweloongyet/pull/195)本站的相关文档。
上述修改已合入 6.11 内核,至此可以认为该问题已被完全解决。然而,Huacai Chen 仍然[坚持](https://lore.kernel.org/loongarch/CAAhV-H7iKyQBvV+J9T1ekxh9OF8h=F9zp_QMyuhFBrFXGHHmTg@mail.gmail.com/)[重新引入](https://lore.kernel.org/loongarch/[email protected]/) `fstat` 和 `newfstatat` 系统调用。[xry111],Arnd Bergmann,以及 Christian Brauner [反对](https://lore.kernel.org/loongarch/20240703-bergwacht-sitzung-ef4f2e63cd70@brauner/)这一提议,[但是 Linus 的决定权也是很重要的](https://lore.kernel.org/loongarch/CAHk-=wi0ejJ=PCZfCmMKvsFmzvVzAYYt1K9vtwke4=arfHiAdg@mail.gmail.com/),因此 6.11 版本内核已经为 LoongArch [重新引入](https://git.kernel.org/torvalds/c/7697a0fe0154)这两个系统调用。我们将需要在下一个 Glibc 开发周期解决这一变化将导致的[兼容性问题](https://lore.kernel.org/loongarch/[email protected]/),并[修订](https://github.com/loongson-community/areweloongyet/pull/195)本站的相关文档。

[Icenowy]: https://github.com/Icenowy
[xry111]: https://github.com/xry111
Expand Down

0 comments on commit 3c884d7

Please sign in to comment.