[LTP] [PATCH v2 2/5] Add listns fallback header

Cyril Hrubis chrubis@suse.cz
Fri Mar 20 11:35:37 CET 2026


Hi!
> +static inline int listns(struct listns_req *req, uint64_t *ns_ids,
> +			 size_t nr_ns_ids, unsigned int flags)
> +{
> +	return tst_syscall(__NR_listns, req, ns_ids, nr_ns_ids, flags);
> +}

Do we need a configure check in a case that glibc happens to eventually
add listns() syscall?

Otherwise it looks good.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list