Re: [PATCH] waitid system call

Linus Torvalds
2004-08-31T18:27:16Z

On Tue, 31 Aug 2004, Jakub Jelinek wrote:
>
> Is it really necessary to check the exit code after each put_user?

More importantly, is there really any reason to care at all?

There's no real reason to generate extra code to check an error value that
is pointless. It should probably just use

(void) clear_user(infop, sizeof(*infop))

and be done with it.

Linus