On Tue Dec 12 22:44:57 2023 +0000, Rémi Bernon wrote:
It might not be possible to restore %fs *after* switching to the user stack as some of the return paths use `iret` to do that?
The iret path moves %rsp above the syscall frame so it should still do the right thing.