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

Cyril Hrubis chrubis@suse.cz
Mon Mar 23 11:16:23 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?
> > 
> 
> Does it make sense at this stage?

That really depends on if we want the next release to compile cleanly in
a year or two.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list