Re: [PATCH] epoll_[p]wait: fix spurious -EINTR on ptrace attach

From: Denys Vlasenko
Date: Wed Jun 26 2013 - 03:43:45 EST


On Tuesday 25 June 2013 22:06, Oleg Nesterov wrote:
> > > In order to define a "sigset_t ksigmask" member,
> >
> > You do not need it. But the reason is not clear until the cleanup.
>
> I take this back, this is not as simple as I thought... and perhaps even
> not right.
>
> However. Probably you can replace has_ksigmask + ksigmask by
> "sigset_t __user *sigmask" pointer?

This is going to be a PITA because we also need to support
the compat syscall, which uses compat_sigset_t*, not sigset_t*
:(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/