We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Once upgrading to Ubuntu 20.04 base, the Occlum LTP test may panic in the case statx03.
Steps to reproduce the behavior:
occlum run /opt/ltp/run-ltp.sh -f syscalls -s statx03
No panic.
If applicable, add logs to help explain your problem.
NGO/Occlum doesn't support syscall statx (332), in glibc > 2.28, it eventually will call syscall fstatat. The panic happens when passing a dangling ponter as "pathname". Details could refer to the LTP source code. https://github.com/linux-test-project/ltp/blob/20210927/testcases/kernel/syscalls/statx/statx03.c#L58
Not obligatory, but suggest a fix/reason for the bug.
The text was updated successfully, but these errors were encountered:
guzongmin
No branches or pull requests
Describe the bug
Once upgrading to Ubuntu 20.04 base, the Occlum LTP test may panic in the case statx03.
To reproduce
Steps to reproduce the behavior:
occlum run /opt/ltp/run-ltp.sh -f syscalls -s statx03
Expected behavior
No panic.
Logs
If applicable, add logs to help explain your problem.
Environment
Additional context
NGO/Occlum doesn't support syscall statx (332), in glibc > 2.28, it eventually will call syscall fstatat.
The panic happens when passing a dangling ponter as "pathname".
Details could refer to the LTP source code.
https://github.com/linux-test-project/ltp/blob/20210927/testcases/kernel/syscalls/statx/statx03.c#L58
Possible solution/Implementation
Not obligatory, but suggest a fix/reason for the bug.
The text was updated successfully, but these errors were encountered: