Fix build error in vdso_test_getrandom.c due to missing CLONE_NEWTIME.
Include linux/sched.h to define CLONE_NEWTIME.
Ensure successful compilation by resolving the missing header issue.
Signed-off-by: SurajSonawane2415
---
tools/testing/selftests/vDSO/vdso_test_getrandom.c | 1 +
1 file
Yes, I ran it but faced an issue. After reading comments on a similar patch
shared by Jason A.
Donenfeld, I realized that my environment is Ubuntu 22.04 (Linux 5.15 + glibc
2.35).
After upgrading to a newer version of glibc, the issue seems to be fixed.
I think including might not be needed.
2 matches
Mail list logo