Thread (90 messages) 90 messages, 4 authors, 2012-11-01

Re: [ 60/85] xtensa: add missing system calls to the syscall table

From: Chris Zankel <chris@zankel.net>
Date: 2012-10-27 21:08:43
Also in: lkml

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:
[...]
quoted
 #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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help