Re: fstatat64 and newfstatat syscalls

Helge Deller <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On Sat Dec 23 2006, Helge Deller wrote:
> Hi Grant,
> 
> I think we have some wrong assignments with above $TOPIC syscalls.
> 
> I found this mail and CVS patch from you:
> http://lists.parisc-linux.org/pipermail/parisc-linux-cvs/2006-February/036543.html
> http://cvs.parisc-linux.org/linux-2.6/arch/parisc/kernel/syscall_table.S.diff?cvsroot=&r1=1.22&r2=1.23
> 
> but currently we have:
> arch/parisc/kernel/syscall_table.S:		ENTRY_SAME(fstatat64)           /* 280 */
> while in:
> include/asm-parisc/unistd.h:			#define __NR_newfstatat         (__NR_Linux + 280)

I think the right solution is to change current line in unistd.h to this:
include/asm-parisc/unistd.h:			#define __NR_fstatat64         (__NR_Linux + 280)

The fstatat testcase from LTP passes with then this change as well...

Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.