diff options
author | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:52:03 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:52:03 +0000 |
commit | e1d785f934cb533590f232031fb058eed16a6f9c (patch) | |
tree | 149e9f34d76572a04a24fa54f74bd95f1c4700f4 /libattr | |
parent | 5c639dbf5813c260813f174faa9e82e9ed1ff732 (diff) | |
download | attr-e1d785f934cb533590f232031fb058eed16a6f9c.tar.gz |
Merge of xfs-cmds-2.4.18:slinx:112352a by nathans.
add in the __x86_64__ system calls.
Diffstat (limited to 'libattr')
-rw-r--r-- | libattr/syscalls.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libattr/syscalls.c b/libattr/syscalls.c index 7a4ba4c..227f4f4 100644 --- a/libattr/syscalls.c +++ b/libattr/syscalls.c @@ -94,6 +94,20 @@ # define __NR_removexattr 218 # define __NR_lremovexattr 219 # define __NR_fremovexattr 220 +#elif defined (__x86_64__) +# define HAVE_XATTR_SYSCALLS 1 +# define __NR_setxattr 188 +# define __NR_lsetxattr 189 +# define __NR_fsetxattr 190 +# define __NR_getxattr 191 +# define __NR_lgetxattr 192 +# define __NR_fgetxattr 193 +# define __NR_listxattr 194 +# define __NR_llistxattr 195 +# define __NR_flistxattr 196 +# define __NR_removexattr 197 +# define __NR_lremovexattr 198 +# define __NR_fremovexattr 199 #else # warning "Extended attribute syscalls undefined for this architecture" # define HAVE_XATTR_SYSCALLS 0 |