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

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

 



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?

David



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