From: Mark Wielaard Date: Fri, 29 Aug 2014 11:44:20 +0000 (+0000) Subject: include/vki/vki-scnums-arm64-linux.h use correct __NR_lseek define. X-Git-Tag: svn/VALGRIND_3_10_0~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0862f83c8c276b3f9c31eecdcdf03ab494e1ef;p=thirdparty%2Fvalgrind.git include/vki/vki-scnums-arm64-linux.h use correct __NR_lseek define. This caused memcheck/tests/linux/proc-auxv.vgtest to fail because our internal VG(lseek) would return ENOSYS. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14383 --- diff --git a/include/vki/vki-scnums-arm64-linux.h b/include/vki/vki-scnums-arm64-linux.h index f682a8673b..26865f2efa 100644 --- a/include/vki/vki-scnums-arm64-linux.h +++ b/include/vki/vki-scnums-arm64-linux.h @@ -391,7 +391,7 @@ //__SYSCALL(__NR_fstatfs, sys_fstatfs) //#define __NR_statfs 1056 //__SYSCALL(__NR_statfs, sys_statfs) -#define __NR_lseek 1057 +//#define __NR_lseek 1057 #define __NR_mmap 1058 // //#undef __NR_syscalls @@ -475,7 +475,7 @@ //#define __NR_fstatfs __NR3264_fstatfs //#define __NR_truncate __NR3264_truncate //#define __NR_ftruncate __NR3264_ftruncate -//#define __NR_lseek __NR3264_lseek +#define __NR_lseek __NR3264_lseek //#define __NR_sendfile __NR3264_sendfile //#define __NR_newfstatat __NR3264_fstatat #define __NR_fstat __NR3264_fstat