[LTP] [PATCH v2 0/2] Build fixes

Petr Vorel pvorel@suse.cz
Wed Apr 24 16:17:49 CEST 2024


changes v1->v2:
* include/lapi/fs.h: Add #include <unistd.h>, more comments.
* unlink09.c: replace _GNU_SOURCE with switched lapi/fs.h and tst_test.h
  includes.

Tested:
https://github.com/pevik/ltp/actions/runs/8817947494

Petr Vorel (2):
  lapi/fs: Include lapi/fcntl.h + define _GNU_SOURCE
  lapi: getrandom05: Add getrandom() fallback

 configure.ac                                      |  1 +
 include/lapi/fs.h                                 | 10 +++++++++-
 include/lapi/getrandom.h                          | 15 +++++++++++++--
 testcases/kernel/syscalls/getrandom/getrandom05.c |  3 ++-
 testcases/kernel/syscalls/unlink/unlink09.c       |  2 +-
 5 files changed, 26 insertions(+), 5 deletions(-)

-- 
2.43.0



More information about the ltp mailing list