Thread (42 messages) 42 messages, 10 authors, 2018-11-29

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

From: Joey Pabalinas <hidden>
Date: 2018-11-29 10:05:19
Also in: linux-fsdevel, linux-man, lkml

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:
quoted
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote:
quoted
+	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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help