Re: [PATCH v2 4/9] selftests/harness: Fix interleaved scheduling leading to race conditions

From: Mickaël Salaün
Date: Mon Apr 29 2024 - 15:19:04 EST


On Mon, Apr 29, 2024 at 10:16:47AM -0700, Jakub Kicinski wrote:
> On Mon, 29 Apr 2024 08:52:36 -0700 Kees Cook wrote:
> > > +/* Wait for the child process to end but without sharing memory mapping. */
> > > +static pid_t __attribute__((__unused__)) clone3_vfork(void)
> >
> > Why "unused"?
>
> Right, static inline is enough

Indeed, I'll fix that.