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

Cyril Hrubis
2026-03-23T10:16:39Z

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