Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 May 2016 23:53:27 -0500
From: Bobby Bingham <koorogi@...rogi.info>
To: musl@...ts.openwall.com
Subject: [PATCH 1/3] x32: remove unnecessary undefs of syscall numbers

---
 arch/x32/bits/syscall.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h
index bd5ab3b..c7c15ab 100644
--- a/arch/x32/bits/syscall.h
+++ b/arch/x32/bits/syscall.h
@@ -66,7 +66,6 @@
 #define __NR_fdatasync (__X32_SYSCALL_BIT + 75)
 #define __NR_truncate (__X32_SYSCALL_BIT + 76)
 #define __NR_ftruncate (__X32_SYSCALL_BIT + 77)
-#define __NR_getdents (__X32_SYSCALL_BIT + 78)
 #define __NR_getcwd (__X32_SYSCALL_BIT + 79)
 #define __NR_chdir (__X32_SYSCALL_BIT + 80)
 #define __NR_fchdir (__X32_SYSCALL_BIT + 81)
@@ -317,10 +316,6 @@
 #define __NR_io_submit (__X32_SYSCALL_BIT + 544)
 #define __NR_execveat (__X32_SYSCALL_BIT + 545)
 
-#undef __NR_fstatat
-#undef __NR_pread
-#undef __NR_pwrite
-#undef __NR_getdents
 #define __NR_fstatat __NR_newfstatat
 #define __NR_pread __NR_pread64
 #define __NR_pwrite __NR_pwrite64
@@ -400,7 +395,6 @@
 #define SYS_fdatasync __NR_fdatasync
 #define SYS_truncate __NR_truncate
 #define SYS_ftruncate __NR_ftruncate
-#define SYS_getdents __NR_getdents
 #define SYS_getcwd __NR_getcwd
 #define SYS_chdir __NR_chdir
 #define SYS_fchdir __NR_fchdir
@@ -652,10 +646,6 @@
 #define SYS_io_submit __NR_io_submit
 #define SYS_execveat __NR_execveat
 
-#undef SYS_fstatat
-#undef SYS_pread
-#undef SYS_pwrite
-#undef SYS_getdents
 #define SYS_fstatat SYS_newfstatat
 #define SYS_pread SYS_pread64
 #define SYS_pwrite SYS_pwrite64
-- 
2.8.2

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.