-
Notifications
You must be signed in to change notification settings - Fork 11.5k
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
[sanitizer] __NR_newfstatat not defined in linux kernel headers in aarch64 #100098
Comments
riscv also has this issue. You really should first detect _NR##name macros before using them
|
I believe that this is a bug in the upcoming 6.11 kernel, see https://bugzilla.redhat.com/show_bug.cgi?id=2301919. The syscall constants are defined in previous versions. |
Raised on the kernel lists: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Line 389 in d89f3e8
I propose to add checks for defined(__NR_newfstatat)
another one:
The text was updated successfully, but these errors were encountered: