On Wed, Aug 14, 2019 at 02:50:12PM +0200, Oleg Nesterov wrote:
> On 08/14, Christian Brauner wrote:
> >
> > On Wed, Aug 14, 2019 at 02:29:10PM +0200, Oleg Nesterov wrote:
> > > On 08/14, christian.brau...@ubuntu.com wrote:
> > > >
> > > > case P_PGID:
> > > > type =
On 08/14, Christian Brauner wrote:
>
> On Wed, Aug 14, 2019 at 02:29:10PM +0200, Oleg Nesterov wrote:
> > On 08/14, christian.brau...@ubuntu.com wrote:
> > >
> > > case P_PGID:
> > > type = PIDTYPE_PGID;
> > > - if (upid <= 0)
> > > + if (upid < 0)
> > >
On Wed, Aug 14, 2019 at 02:29:10PM +0200, Oleg Nesterov wrote:
> On 08/14, christian.brau...@ubuntu.com wrote:
> >
> > case P_PGID:
> > type = PIDTYPE_PGID;
> > - if (upid <= 0)
> > + if (upid < 0)
> > return -EINVAL;
> > +
> > + if
On 08/14, christian.brau...@ubuntu.com wrote:
>
> case P_PGID:
> type = PIDTYPE_PGID;
> - if (upid <= 0)
> + if (upid < 0)
> return -EINVAL;
> +
> + if (upid == 0)
> + pid =
From: "Eric W. Biederman"
It was recently discovered that the linux version of waitid is not a
superset of the other wait functions because it does not include
support for waiting for the current process group. This has two
downsides. An extra system call is needed to get the current process
5 matches
Mail list logo