Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The initial loongarch64 support code went in too early, even before the upstream kernel ABI has finalized, and was not adjusted since then. No one with enough knowledge of LoongArch was involved in the initial review, so we have been shipping broken LoongArch support, but luckily the rustc port is not merged yet so no real damage has been done. Fix the following discrepancies: - There is no longer {g,s}etrlimit, only prlimit64. - There is no longer fstat and newfstatat, only statx. - MINSIGSTKSZ and SIGSTKSZ now have different values. - The binary sysctl syscall was removed from Linux long before the existence of upstream Linux/LoongArch port (5.5 vs 5.19) so even a wrapper does not make sense. There might be more but these are the most obvious.
- Loading branch information