From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:39550 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbdGGITn (ORCPT ); Fri, 7 Jul 2017 04:19:43 -0400 From: David Howells In-Reply-To: <20170703205041.15788-1-ebiggers3@gmail.com> References: <20170703205041.15788-1-ebiggers3@gmail.com> To: Eric Biggers , Mat Martineau Cc: dhowells@redhat.com, keyrings@vger.kernel.org, Stephan Mueller , stable@vger.kernel.org, Eric Biggers Subject: Re: [PATCH] KEYS: DH: validate __spare field MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13536.1499415580.1@warthog.procyon.org.uk> Date: Fri, 07 Jul 2017 09:19:40 +0100 Message-ID: <13537.1499415580@warthog.procyon.org.uk> Sender: stable-owner@vger.kernel.org List-ID: Eric Biggers 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