Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux32/arch/amd64 Fix extended attribute syscall...



details:   https://anonhg.NetBSD.org/src/rev/af32f8efe8c1
branches:  trunk
changeset: 791444:af32f8efe8c1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 18 19:23:27 2013 +0000

description:
Fix extended attribute syscalls to use the proper types and call their netbsd32
counterparts for now.

diffstat:

 sys/compat/linux32/arch/amd64/syscalls.master |  50 +++++++++++++++-----------
 1 files changed, 28 insertions(+), 22 deletions(-)

diffs (64 lines):

diff -r de8dc247b52e -r af32f8efe8c1 sys/compat/linux32/arch/amd64/syscalls.master
--- a/sys/compat/linux32/arch/amd64/syscalls.master     Mon Nov 18 18:45:29 2013 +0000
+++ b/sys/compat/linux32/arch/amd64/syscalls.master     Mon Nov 18 19:23:27 2013 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.64 2013/11/18 01:32:52 chs Exp $
+       $NetBSD: syscalls.master,v 1.65 2013/11/18 19:23:27 christos Exp $
 
 ; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file.
 ; (See syscalls.conf to see what it is processed into.)
@@ -401,27 +401,33 @@
 223    UNIMPL  /*      unused  */
 224    NOARGS  { pid_t|linux_sys||gettid(void); }
 225    UNIMPL  readahead
-226    NOARGS  { int|linux_sys||setxattr(char *path, char *name, \
-                   void *value, size_t size, int flags); }
-227    NOARGS  { int|linux_sys||lsetxattr(char *path, char *name, \
-                   void *value, size_t size, int flags); }
-228    NOARGS  { int|linux_sys||fsetxattr(int fd, char *name, \
-                   void *value, size_t size, int flags); }
-229    NOARGS  { ssize_t|linux_sys||getxattr(char *path, char *name, \
-                   void *value, size_t size); }
-230    NOARGS  { ssize_t|linux_sys||lgetxattr(char *path, char *name, \
-                   void *value, size_t size); }
-231    NOARGS  { ssize_t|linux_sys||fgetxattr(int fd, char *name, \
-                   void *value, size_t size); }
-232    NOARGS  { ssize_t|linux_sys||listxattr(char *path, char *list, \
-                   size_t size); }
-233    NOARGS  { ssize_t|linux_sys||llistxattr(char *path, char *list, \
-                   size_t size); }
-234    NOARGS  { ssize_t|linux_sys||flistxattr(int fd, char *list, \
-                   size_t size); }
-235    NOARGS  { int|linux_sys||removexattr(char *path, char *name); }
-236    NOARGS  { int|linux_sys||lremovexattr(char *path, char *name); }
-237    NOARGS  { int|linux_sys||fremovexattr(int fd, char *name); }
+226    NOARGS  { int|netbsd32||setxattr(netbsd32_charp path, \
+                   netbsd32_charp name, netbsd32_voidp value, \
+                   netbsd32_size_t size, int flags); }
+227    NOARGS  { int|netbsd32||lsetxattr(netbsd32_charp path, \
+                   netbsd32_charp name,  netbsd32_voidp value, \
+                   netbsd32_size_t size, int flags); }
+228    NOARGS  { int|netbsd32||fsetxattr(int fd, netbsd32_charp name, \
+                   netbsd32_voidp value, netbsd32_size_t size, int flags); }
+229    NOARGS  { ssize_t|netbsd32||getxattr(netbsd32_charp path, \
+                   netbsd32_charp name, netbsd32_voidp value, \
+                   netbsd32_size_t size); }
+230    NOARGS  { ssize_t|netbsd32||lgetxattr(netbsd32_charp path, \
+                   netbsd32_charp name, netbsd32_voidp value, \
+                   netbsd32_size_t size); }
+231    NOARGS  { ssize_t|netbsd32||fgetxattr(int fd, netbsd32_charp name, \
+                   netbsd32_voidp value, netbsd32_size_t size); }
+232    NOARGS  { ssize_t|netbsd32||listxattr(netbsd32_charp path, \
+                   netbsd32_charp list, netbsd32_size_t size); }
+233    NOARGS  { ssize_t|netbsd32||llistxattr(netbsd32_charp path, \
+                   netbsd32_charp list, netbsd32_size_t size); }
+234    NOARGS  { ssize_t|netbsd32||flistxattr(int fd, netbsd32_charp list, \
+                   netbsd32_size_t size); }
+235    NOARGS  { int|netbsd32||removexattr(netbsd32_charp path, \
+                   netbsd32_charp name); }
+236    NOARGS  { int|netbsd32||lremovexattr(netbsd32_charp path, \
+                   netbsd32_charp name); }
+237    NOARGS  { int|netbsd32||fremovexattr(int fd, netbsd32_charp name); }
 238    STD     { int|linux32_sys||tkill(int tid, int sig); }
 239    UNIMPL  sendfile64
 240    STD     { int|linux32_sys||futex(linux32_intp_t uaddr, int op, int val, \



Home | Main Index | Thread Index | Old Index