-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(newsletter): these-weeks-in-loongarch-52: newfstatat is merged :(
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|