Re: [PATCH -net] tls: return -EFAULT if copy_to_user() fails
From: Joe Perches <joe@perches.com>
Date: 2017-06-23 10:31:48
Also in:
kernel-janitors
From: Joe Perches <joe@perches.com>
Date: 2017-06-23 10:31:48
Also in:
kernel-janitors
On Fri, 2017-06-23 at 13:15 +0300, Dan Carpenter wrote:
The copy_to_user() function returns the number of bytes remaining but we want to return -EFAULT here.
because?