[PATCH] selftests/vdso: Add linux/sched.h to fix CLONE_NEWTIME build error

2024-10-02 Thread SurajSonawane2415
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

Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-10-03 Thread SurajSonawane2415
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.