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

Andrea Cervesato andrea.cervesato@suse.com
Fri Mar 20 14:34:05 CET 2026


Hi!

> 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?
> 

Does it make sense at this stage?

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list