SHA256
1
0
forked from pool/attr
attr/attr-syscalls.patch

26 lines
780 B
Diff

Index: libattr/syscalls.c
===================================================================
--- libattr/syscalls.c.orig
+++ libattr/syscalls.c
@@ -189,6 +189,20 @@
# define __NR_removexattr 232
# define __NR_lremovexattr 233
# define __NR_fremovexattr 234
+#elif defined (__aarch64__)
+# define HAVE_XATTR_SYSCALLS 1
+# define __NR_setxattr 5
+# define __NR_lsetxattr 6
+# define __NR_fsetxattr 7
+# define __NR_getxattr 8
+# define __NR_lgetxattr 9
+# define __NR_fgetxattr 10
+# define __NR_listxattr 11
+# define __NR_llistxattr 12
+# define __NR_flistxattr 13
+# define __NR_removexattr 14
+# define __NR_lremovexattr 15
+# define __NR_fremovexattr 16
#else
# warning "Extended attribute syscalls undefined for this architecture"
# define HAVE_XATTR_SYSCALLS 0