[LTP] [PATCH 5/5] close_range: Add test

Cyril Hrubis chrubis@suse.cz
Thu Feb 11 13:54:28 CET 2021


Hi!
> +static inline void do_close_range(unsigned int fd, unsigned int max_fd,
> +				  unsigned int flags)
> +{
> +	int ret = tst_syscall(__NR_close_range, fd, max_fd, flags);

Can we please add configure test and fallback definition into lapi/ as
we usually do instead of calling the raw syscall here?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list