[PATCH] tests: use openat and fstat instead of open and stat syscalls in tests 04 and 06
Architectures like aarch64 and riscv64, and all future architectures that
use the generic syscall table, do not support the open and stat syscalls.
Use the openat and fstat syscalls instead.
Signed-off-by: Andreas Schwab <schwab@suse.de>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit
a317fabc1fd915f19f7e7326bf7dcb77493f1210)
Gbp-Pq: Name tests_use_openat_and_fstat_instead_of_open_and_stat_syscalls.patch