On Fri, Apr 19, 2013 at 04:58:49PM +0400, Andrey Vagin wrote: > > + case PTRACE_GETSIGMASK: > + if (addr != sizeof(sigset_t)) { > + ret = -EINVAL; > + break; > + } > + > + if (copy_to_user(datavp, &child->blocked, sizeof(sigset_t))) { > + ret = -EFAULT; break; } > + > + ret = 0; > + break; > + Other looks good to me.