Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/powerpc/linux_syscallargs.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/powerpc/linux_syscallargs.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.54.4.2 retrieving revision 1.54.4.3 diff -u -p -r1.54.4.2 -r1.54.4.3 --- src/sys/compat/linux/arch/powerpc/linux_syscallargs.h 2012/10/30 17:20:43 1.54.4.2 +++ src/sys/compat/linux/arch/powerpc/linux_syscallargs.h 2014/05/22 11:40:16 1.54.4.3 @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.54.4.2 2012/10/30 17:20:43 yamt Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.54.4.3 2014/05/22 11:40:16 yamt Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.51 2012/09/19 21:19:15 pooka Exp + * created from NetBSD: syscalls.master,v 1.61 2014/05/06 17:33:35 njoly Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -43,7 +43,7 @@ struct sys_write_args; struct linux_sys_open_args { syscallarg(const char *) path; syscallarg(int) flags; - syscallarg(int) mode; + syscallarg(linux_umode_t) mode; }; check_syscall_args(linux_sys_open) @@ -58,7 +58,7 @@ check_syscall_args(linux_sys_waitpid) struct linux_sys_creat_args { syscallarg(const char *) path; - syscallarg(int) mode; + syscallarg(linux_umode_t) mode; }; check_syscall_args(linux_sys_creat) @@ -80,8 +80,8 @@ check_syscall_args(linux_sys_time) struct linux_sys_mknod_args { syscallarg(const char *) path; - syscallarg(int) mode; - syscallarg(int) dev; + syscallarg(linux_umode_t) mode; + syscallarg(unsigned) dev; }; check_syscall_args(linux_sys_mknod) @@ -101,8 +101,8 @@ check_syscall_args(linux_sys_stime) struct linux_sys_ptrace_args { syscallarg(int) request; syscallarg(int) pid; - syscallarg(int) addr; - syscallarg(int) data; + syscallarg(long) addr; + syscallarg(long) data; }; check_syscall_args(linux_sys_ptrace) @@ -627,7 +627,7 @@ struct linux_sys_pread_args { syscallarg(int) fd; syscallarg(char *) buf; syscallarg(size_t) nbyte; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; }; check_syscall_args(linux_sys_pread) @@ -635,7 +635,7 @@ struct linux_sys_pwrite_args { syscallarg(int) fd; syscallarg(char *) buf; syscallarg(size_t) nbyte; - syscallarg(linux_off_t) offset; + syscallarg(off_t) offset; }; check_syscall_args(linux_sys_pwrite) @@ -877,6 +877,12 @@ struct linux_sys_tgkill_args { }; check_syscall_args(linux_sys_tgkill) +struct linux_sys_utimes_args { + syscallarg(const char *) path; + syscallarg(struct linux_timeval *) times; +}; +check_syscall_args(linux_sys_utimes) + struct linux_sys_statfs64_args { syscallarg(const char *) path; syscallarg(size_t) sz; @@ -907,6 +913,77 @@ struct linux_sys_ppoll_args { }; check_syscall_args(linux_sys_ppoll) +struct linux_sys_openat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(int) flags; + syscallarg(linux_umode_t) mode; +}; +check_syscall_args(linux_sys_openat) + +struct sys_mkdirat_args; + +struct linux_sys_mknodat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(linux_umode_t) mode; + syscallarg(unsigned) dev; +}; +check_syscall_args(linux_sys_mknodat) + +struct linux_sys_fchownat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(uid_t) owner; + syscallarg(gid_t) group; + syscallarg(int) flag; +}; +check_syscall_args(linux_sys_fchownat) + +struct linux_sys_fstatat64_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(struct linux_stat64 *) sp; + syscallarg(int) flag; +}; +check_syscall_args(linux_sys_fstatat64) + +struct linux_sys_unlinkat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(int) flag; +}; +check_syscall_args(linux_sys_unlinkat) + +struct sys_renameat_args; + +struct linux_sys_linkat_args { + syscallarg(int) fd1; + syscallarg(const char *) name1; + syscallarg(int) fd2; + syscallarg(const char *) name2; + syscallarg(int) flags; +}; +check_syscall_args(linux_sys_linkat) + +struct sys_symlinkat_args; + +struct sys_readlinkat_args; + +struct linux_sys_fchmodat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(linux_umode_t) mode; +}; +check_syscall_args(linux_sys_fchmodat) + +struct linux_sys_faccessat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(int) amode; +}; +check_syscall_args(linux_sys_faccessat) + struct linux_sys_set_robust_list_args { syscallarg(struct linux_robust_list_head *) head; syscallarg(size_t) len; @@ -920,6 +997,14 @@ struct linux_sys_get_robust_list_args { }; check_syscall_args(linux_sys_get_robust_list) +struct linux_sys_utimensat_args { + syscallarg(int) fd; + syscallarg(const char *) path; + syscallarg(struct linux_timespec *) times; + syscallarg(int) flag; +}; +check_syscall_args(linux_sys_utimensat) + struct linux_sys_dup3_args { syscallarg(int) from; syscallarg(int) to; @@ -1315,6 +1400,8 @@ int linux_sys_clock_nanosleep(struct lwp int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *); +int linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *); + int linux_sys_statfs64(struct lwp *, const struct linux_sys_statfs64_args *, register_t *); int linux_sys_fstatfs64(struct lwp *, const struct linux_sys_fstatfs64_args *, register_t *); @@ -1323,10 +1410,36 @@ int linux_sys_fadvise64_64(struct lwp *, int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *); +int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *); + +int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *); + +int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *); + +int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *); + +int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *); + +int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *); + +int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *); + +int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *); + +int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *); + +int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *); + +int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *); + +int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *); + int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *); int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *); +int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *); + int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *); int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);