summaryrefslogtreecommitdiff
path: root/libattr/syscalls.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-02-27 22:19:35 +0000
committerNathan Scott <nathans@sgi.com>2002-02-27 22:19:35 +0000
commit7a3da09c7c2c54bcd8d9c1d114c952cc9e78ea8e (patch)
treec3e210f16df32fcb2470074fe10857fe9d33a0c6 /libattr/syscalls.c
parent0f0db0790a0a670c0050fd20f4bb7e7baef0247a (diff)
downloadattr-7a3da09c7c2c54bcd8d9c1d114c952cc9e78ea8e.tar.gz
2.0.2 - add in S/390 system call numbers from Martin Schwidefsky;
revert IA64 syscall numbering after further mail with David Mosberger (apparently sys_tkill will be moved).
Diffstat (limited to 'libattr/syscalls.c')
-rw-r--r--libattr/syscalls.c38
1 files changed, 26 insertions, 12 deletions
diff --git a/libattr/syscalls.c b/libattr/syscalls.c
index 3f7bd90..e580bb0 100644
--- a/libattr/syscalls.c
+++ b/libattr/syscalls.c
@@ -68,18 +68,18 @@
# define __NR_fremovexattr 183
#elif defined (__ia64__)
# define HAVE_XATTR_SYSCALLS 1
-# define __NR_setxattr 1218
-# define __NR_lsetxattr 1219
-# define __NR_fsetxattr 1220
-# define __NR_getxattr 1221
-# define __NR_lgetxattr 1222
-# define __NR_fgetxattr 1223
-# define __NR_listxattr 1224
-# define __NR_llistxattr 1225
-# define __NR_flistxattr 1226
-# define __NR_removexattr 1227
-# define __NR_lremovexattr 1228
-# define __NR_fremovexattr 1229
+# define __NR_setxattr 1217
+# define __NR_lsetxattr 1218
+# define __NR_fsetxattr 1219
+# define __NR_getxattr 1220
+# define __NR_lgetxattr 1221
+# define __NR_fgetxattr 1222
+# define __NR_listxattr 1223
+# define __NR_llistxattr 1224
+# define __NR_flistxattr 1225
+# define __NR_removexattr 1226
+# define __NR_lremovexattr 1227
+# define __NR_fremovexattr 1228
#elif defined (__powerpc__)
# define HAVE_XATTR_SYSCALLS 1
# define __NR_setxattr 209
@@ -108,6 +108,20 @@
# define __NR_removexattr 197
# define __NR_lremovexattr 198
# define __NR_fremovexattr 199
+#elif defined (__s390__)
+# define HAVE_XATTR_SYSCALLS 1
+# define __NR_setxattr 224
+# define __NR_lsetxattr 225
+# define __NR_fsetxattr 226
+# define __NR_getxattr 227
+# define __NR_lgetxattr 228
+# define __NR_fgetxattr 229
+# define __NR_listxattr 230
+# define __NR_llistxattr 231
+# define __NR_flistxattr 232
+# define __NR_removexattr 233
+# define __NR_lremovexattr 234
+# define __NR_fremovexattr 235
#else
# warning "Extended attribute syscalls undefined for this architecture"
# define HAVE_XATTR_SYSCALLS 0