Re: [PATCH] KEYS: DH: validate __spare field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Jul 2017, David Howells wrote:

Eric Biggers <ebiggers3@xxxxxxxxx> wrote:

Syscalls must validate that their reserved arguments are zero and return
EINVAL otherwise.  Otherwise, it will be impossible to actually use them
for anything in the future because existing programs may be passing
garbage in.  This is standard practice when adding new APIs.

Fine by me.  Mat?

Looks good, please apply the patch. Thanks for catching this, Eric.

--
Mat Martineau
Intel OTC



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]