[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181128230201.afprnrqyvrtzghh7@gmail.com>
Date: Wed, 28 Nov 2018 13:02:01 -1000
From: Joey Pabalinas <joeypabalinas@...il.com>
To: Christian Brauner <christian@...uner.io>
Cc: Joey Pabalinas <joeypabalinas@...il.com>, ebiederm@...ssion.com,
linux-kernel@...r.kernel.org, serge@...lyn.com, jannh@...gle.com,
luto@...nel.org, akpm@...ux-foundation.org, oleg@...hat.com,
cyphar@...har.com, viro@...iv.linux.org.uk,
linux-fsdevel@...r.kernel.org, linux-api@...r.kernel.org,
dancol@...gle.com, timmurray@...gle.com, linux-man@...r.kernel.org,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH v1 2/2] signal: add procfd_signal() syscall
On Wed, Nov 28, 2018 at 11:05:49PM +0100, Christian Brauner wrote:
> On Wed, Nov 28, 2018 at 11:45:34AM -1000, Joey Pabalinas wrote:
> > On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote:
> > > + if (info) {
> > > + ret = __copy_siginfo_from_user(sig, &kinfo, info);
> > > + if (unlikely(ret))
> > > + goto err;
> >
>
> I think you're misreading here. It jumps to:
>
> err:
> fdput(f);
> return ret;
>
> and does propagate the error. This is also an old iteration of the patch.
Whoops, that I am. Sorry about that.
--
Cheers,
Joey Pabalinas
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists