On Wed, Oct 12, 2022 at 04:01:31PM -0700, Sathyanarayanan Kuppuswamy wrote:
I am fine with adding an error message here. What about the above -EINVAL case? Do you suggest adding it there as well?
Right, you could dump the req.* fields it read from luserspace so that one staring at the error message can actually see which of the fields failed the check.
Thx.