Skip to content
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

remove fstat and newfstatat, use statx #29

Conversation

xen0n
Copy link

@xen0n xen0n commented May 22, 2022

No description provided.

xen0n added 2 commits May 22, 2022 12:06
…sent

LoongArch is going to be the first architecture supported by Linux that
has neither fstat* nor newfstatat [1], instead exclusively relying on
statx. So in fstatat64's implementation, we need to also enable statx
usage if neither fstatat64 nor newfstatat is present, to prepare for
this new case of kernel ABI.

[1]: https://lore.kernel.org/all/20220518092619.1269111-1-chenhuacai@loongson.cn/
According to latest revision of the port [1], these two syscalls are
removed in favor of statx.

[1]: https://lore.kernel.org/all/20220518092619.1269111-1-chenhuacai@loongson.cn/
@xen0n
Copy link
Author

xen0n commented May 22, 2022

@oy456xd plz check

Copy link

@yetist yetist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@oy456xd
Copy link
Collaborator

oy456xd commented May 25, 2022

@xen0n 你的公共代码部分的补丁我已经向上游社区发邮件, 抄送你了,请查收

@xen0n
Copy link
Author

xen0n commented May 25, 2022

@xen0n 你的公共代码部分的补丁我已经向上游社区发邮件, 抄送你了,请查收

我自己也发了,看到了

这个 fix 你们确保带着,我看好像你们的临时分支里有一个 fix,不完备,只判断了一个系统调用,不过我写这补丁的时候是不知道你们也 fix 了

@oy456xd oy456xd closed this May 25, 2022
@xen0n xen0n deleted the loongarch_2_36_upstream_v4 branch May 25, 2022 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants