From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <508C4D56.5030801@zankel.net> Date: Sat, 27 Oct 2012 14:08:38 -0700 From: Chris Zankel MIME-Version: 1.0 To: Ben Hutchings CC: linux-kernel@vger.kernel.org, stable@vger.kernel.org, alan@lxorguk.ukuu.org.uk, Greg Kroah-Hartman Subject: Re: [ 60/85] xtensa: add missing system calls to the syscall table References: <20121026000031.107227138@linuxfoundation.org> <20121026000037.158689095@linuxfoundation.org> <1351362392.4834.17.camel@deadeye.wl.decadent.org.uk> In-Reply-To: <1351362392.4834.17.camel@deadeye.wl.decadent.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: Hi Ben, On 10/27/2012 11:26 AM, Ben Hutchings wrote: > On Thu, 2012-10-25 at 17:06 -0700, Greg Kroah-Hartman wrote: > [...] >> #define __NR_available287 287 >> -__SYSCALL(287, sys_faccessat, 0) >> +__SYSCALL(287, sys_ni_syscall, 0) > [...] > > Why was this one un-plumbed rather than properly numbered (#define > __NR_faccessat)? I can only speculate, that this was probably a copy/paste error that has been there for a long time. __NR_faccessat is (and was) defined as number 301. Given that 287 was never defined, it's save to fix the table entry and set it to sys_ni_syscall. unistd.h: [...] #define __NR_faccessat 301 __SYSCALL(301, sys_faccessat, 4) [...] Thanks, -Chris