summaryrefslogtreecommitdiff
path: root/libattr/syscalls.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-08-28 03:47:38 +0000
committerNathan Scott <nathans@sgi.com>2002-08-28 03:47:38 +0000
commit88ae67faaa664e3470b8eda7e57054d448aa187a (patch)
treebe20d77cf247d31a8fa72ba72808da8f8749a2e8 /libattr/syscalls.c
parentd032541726c4af59197d6407ab2819801a4a300b (diff)
downloadattr-88ae67faaa664e3470b8eda7e57054d448aa187a.tar.gz
bump version, document changes.
Diffstat (limited to 'libattr/syscalls.c')
-rw-r--r--libattr/syscalls.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libattr/syscalls.c b/libattr/syscalls.c
index 66361bf..12ed7f0 100644
--- a/libattr/syscalls.c
+++ b/libattr/syscalls.c
@@ -169,6 +169,7 @@
# define __NR_lremovexattr (__NR_Linux + 234)
# define __NR_fremovexattr (__NR_Linux + 235)
#elif defined (__alpha__)
+# define HAVE_XATTR_SYSCALLS 1
# define __NR_setxattr 382
# define __NR_lsetxattr 383
# define __NR_fsetxattr 384
@@ -181,6 +182,20 @@
# define __NR_removexattr 391
# define __NR_lremovexattr 392
# define __NR_fremovexattr 393
+#elif defined (__m68k__)
+# define HAVE_XATTR_SYSCALLS 1
+# define __NR_setxattr 223
+# define __NR_lsetxattr 224
+# define __NR_fsetxattr 225
+# define __NR_getxattr 226
+# define __NR_lgetxattr 227
+# define __NR_fgetxattr 228
+# define __NR_listxattr 229
+# define __NR_llistxattr 230
+# define __NR_flistxattr 231
+# define __NR_removexattr 232
+# define __NR_lremovexattr 233
+# define __NR_fremovexattr 234
#else
# warning "Extended attribute syscalls undefined for this architecture"
# define HAVE_XATTR_SYSCALLS 0