version 1.65, 2008/04/23 14:10:04 |
version 1.65.2.4, 2010/08/11 22:53:06 |
|
|
* System call argument lists. |
* System call argument lists. |
* |
* |
* DO NOT EDIT-- this file is automatically generated. |
* DO NOT EDIT-- this file is automatically generated. |
* created from NetBSD: syscalls.master,v 1.61 2008/04/23 14:07:50 ad Exp |
* created from NetBSD: syscalls.master,v 1.69 2010/07/07 01:30:34 chs Exp |
*/ |
*/ |
|
|
#ifndef _LINUX_SYS_SYSCALLARGS_H_ |
#ifndef _LINUX_SYS_SYSCALLARGS_H_ |
|
|
typedef char call##_check_args[sizeof (struct call##_args) \ |
typedef char call##_check_args[sizeof (struct call##_args) \ |
<= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; |
<= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; |
|
|
struct sys_exit_args; |
struct linux_sys_exit_args { |
|
syscallarg(int) rval; |
|
}; |
|
check_syscall_args(linux_sys_exit) |
|
|
struct sys_read_args; |
struct sys_read_args; |
|
|
Line 243 struct linux_sys_getrlimit_args { |
|
Line 246 struct linux_sys_getrlimit_args { |
|
}; |
}; |
check_syscall_args(linux_sys_getrlimit) |
check_syscall_args(linux_sys_getrlimit) |
|
|
struct sys_getrusage_args; |
struct compat_50_sys_getrusage_args; |
|
|
struct linux_sys_gettimeofday_args { |
struct linux_sys_gettimeofday_args { |
syscallarg(struct timeval *) tp; |
syscallarg(struct timeval50 *) tp; |
syscallarg(struct timezone *) tzp; |
syscallarg(struct timezone *) tzp; |
}; |
}; |
check_syscall_args(linux_sys_gettimeofday) |
check_syscall_args(linux_sys_gettimeofday) |
|
|
struct linux_sys_settimeofday_args { |
struct linux_sys_settimeofday_args { |
syscallarg(struct timeval *) tp; |
syscallarg(struct timeval50 *) tp; |
syscallarg(struct timezone *) tzp; |
syscallarg(struct timezone *) tzp; |
}; |
}; |
check_syscall_args(linux_sys_settimeofday) |
check_syscall_args(linux_sys_settimeofday) |
Line 362 struct linux_sys_socketcall_args { |
|
Line 365 struct linux_sys_socketcall_args { |
|
}; |
}; |
check_syscall_args(linux_sys_socketcall) |
check_syscall_args(linux_sys_socketcall) |
|
|
struct sys_setitimer_args; |
struct compat_50_sys_setitimer_args; |
|
|
struct sys_getitimer_args; |
struct compat_50_sys_getitimer_args; |
|
|
struct linux_sys_stat_args { |
struct linux_sys_stat_args { |
syscallarg(const char *) path; |
syscallarg(const char *) path; |
Line 388 struct linux_sys_wait4_args { |
|
Line 391 struct linux_sys_wait4_args { |
|
syscallarg(int) pid; |
syscallarg(int) pid; |
syscallarg(int *) status; |
syscallarg(int *) status; |
syscallarg(int) options; |
syscallarg(int) options; |
syscallarg(struct rusage *) rusage; |
syscallarg(struct rusage50 *) rusage; |
}; |
}; |
check_syscall_args(linux_sys_wait4) |
check_syscall_args(linux_sys_wait4) |
|
|
Line 416 struct sys_fsync_args; |
|
Line 419 struct sys_fsync_args; |
|
struct linux_sys_clone_args { |
struct linux_sys_clone_args { |
syscallarg(int) flags; |
syscallarg(int) flags; |
syscallarg(void *) stack; |
syscallarg(void *) stack; |
|
syscallarg(void *) parent_tidptr; |
|
syscallarg(void *) tls; |
|
syscallarg(void *) child_tidptr; |
}; |
}; |
check_syscall_args(linux_sys_clone) |
check_syscall_args(linux_sys_clone) |
|
|
Line 457 struct sys_getpgid_args; |
|
Line 463 struct sys_getpgid_args; |
|
struct sys_fchdir_args; |
struct sys_fchdir_args; |
|
|
struct linux_sys_personality_args { |
struct linux_sys_personality_args { |
syscallarg(int) per; |
syscallarg(unsigned long) per; |
}; |
}; |
check_syscall_args(linux_sys_personality) |
check_syscall_args(linux_sys_personality) |
|
|
Line 486 struct linux_sys_select_args { |
|
Line 492 struct linux_sys_select_args { |
|
syscallarg(fd_set *) readfds; |
syscallarg(fd_set *) readfds; |
syscallarg(fd_set *) writefds; |
syscallarg(fd_set *) writefds; |
syscallarg(fd_set *) exceptfds; |
syscallarg(fd_set *) exceptfds; |
syscallarg(struct timeval *) timeout; |
syscallarg(struct timeval50 *) timeout; |
}; |
}; |
check_syscall_args(linux_sys_select) |
check_syscall_args(linux_sys_select) |
|
|
Line 550 struct linux_sys_sched_get_priority_min_ |
|
Line 556 struct linux_sys_sched_get_priority_min_ |
|
}; |
}; |
check_syscall_args(linux_sys_sched_get_priority_min) |
check_syscall_args(linux_sys_sched_get_priority_min) |
|
|
struct sys_nanosleep_args; |
struct linux_sys_nanosleep_args { |
|
syscallarg(const struct linux_timespec *) rqtp; |
|
syscallarg(struct linux_timespec *) rmtp; |
|
}; |
|
check_syscall_args(linux_sys_nanosleep) |
|
|
struct linux_sys_mremap_args { |
struct linux_sys_mremap_args { |
syscallarg(void *) old_address; |
syscallarg(void *) old_address; |
Line 615 check_syscall_args(linux_sys_rt_sigpendi |
|
Line 625 check_syscall_args(linux_sys_rt_sigpendi |
|
struct linux_sys_rt_queueinfo_args { |
struct linux_sys_rt_queueinfo_args { |
syscallarg(int) pid; |
syscallarg(int) pid; |
syscallarg(int) signum; |
syscallarg(int) signum; |
syscallarg(void *) uinfo; |
syscallarg(linux_siginfo_t *) uinfo; |
}; |
}; |
check_syscall_args(linux_sys_rt_queueinfo) |
check_syscall_args(linux_sys_rt_queueinfo) |
|
|
Line 758 struct linux_sys_getdents64_args { |
|
Line 768 struct linux_sys_getdents64_args { |
|
}; |
}; |
check_syscall_args(linux_sys_getdents64) |
check_syscall_args(linux_sys_getdents64) |
|
|
|
struct linux_sys_tkill_args { |
|
syscallarg(int) tid; |
|
syscallarg(int) sig; |
|
}; |
|
check_syscall_args(linux_sys_tkill) |
|
|
struct linux_sys_setxattr_args { |
struct linux_sys_setxattr_args { |
syscallarg(char *) path; |
syscallarg(char *) path; |
syscallarg(char *) name; |
syscallarg(char *) name; |
Line 848 struct linux_sys_fremovexattr_args { |
|
Line 864 struct linux_sys_fremovexattr_args { |
|
}; |
}; |
check_syscall_args(linux_sys_fremovexattr) |
check_syscall_args(linux_sys_fremovexattr) |
|
|
|
struct linux_sys_futex_args { |
|
syscallarg(int *) uaddr; |
|
syscallarg(int) op; |
|
syscallarg(int) val; |
|
syscallarg(const struct linux_timespec *) timeout; |
|
syscallarg(int *) uaddr2; |
|
syscallarg(int) val3; |
|
}; |
|
check_syscall_args(linux_sys_futex) |
|
|
|
struct linux_sys_set_tid_address_args { |
|
syscallarg(int *) tid; |
|
}; |
|
check_syscall_args(linux_sys_set_tid_address) |
|
|
struct linux_sys_clock_settime_args { |
struct linux_sys_clock_settime_args { |
syscallarg(clockid_t) which; |
syscallarg(clockid_t) which; |
syscallarg(struct linux_timespec *) tp; |
syscallarg(struct linux_timespec *) tp; |
Line 874 struct linux_sys_clock_nanosleep_args { |
|
Line 905 struct linux_sys_clock_nanosleep_args { |
|
}; |
}; |
check_syscall_args(linux_sys_clock_nanosleep) |
check_syscall_args(linux_sys_clock_nanosleep) |
|
|
|
struct linux_sys_statfs64_args { |
|
syscallarg(const char *) path; |
|
syscallarg(size_t) sz; |
|
syscallarg(struct linux_statfs64 *) sp; |
|
}; |
|
check_syscall_args(linux_sys_statfs64) |
|
|
|
struct linux_sys_fstatfs64_args { |
|
syscallarg(int) fd; |
|
syscallarg(size_t) sz; |
|
syscallarg(struct linux_statfs64 *) sp; |
|
}; |
|
check_syscall_args(linux_sys_fstatfs64) |
|
|
|
struct linux_sys_tgkill_args { |
|
syscallarg(int) tgid; |
|
syscallarg(int) tid; |
|
syscallarg(int) sig; |
|
}; |
|
check_syscall_args(linux_sys_tgkill) |
|
|
|
struct linux_sys_set_robust_list_args { |
|
syscallarg(struct linux_robust_list_head *) head; |
|
syscallarg(size_t) len; |
|
}; |
|
check_syscall_args(linux_sys_set_robust_list) |
|
|
|
struct linux_sys_get_robust_list_args { |
|
syscallarg(int) pid; |
|
syscallarg(struct linux_robust_list_head **) head; |
|
syscallarg(size_t *) len; |
|
}; |
|
check_syscall_args(linux_sys_get_robust_list) |
|
|
|
struct linux_sys_sched_setaffinity_args { |
|
syscallarg(pid_t) pid; |
|
syscallarg(unsigned int) len; |
|
syscallarg(unsigned long *) mask; |
|
}; |
|
check_syscall_args(linux_sys_sched_setaffinity) |
|
|
|
struct linux_sys_sched_getaffinity_args { |
|
syscallarg(pid_t) pid; |
|
syscallarg(unsigned int) len; |
|
syscallarg(unsigned long *) mask; |
|
}; |
|
check_syscall_args(linux_sys_sched_getaffinity) |
|
|
/* |
/* |
* System call prototypes. |
* System call prototypes. |
*/ |
*/ |
|
|
int linux_sys_nosys(struct lwp *, const void *, register_t *); |
int linux_sys_nosys(struct lwp *, const void *, register_t *); |
|
|
int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); |
int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); |
|
|
int sys_fork(struct lwp *, const void *, register_t *); |
int sys_fork(struct lwp *, const void *, register_t *); |
|
|
Line 1008 int linux_sys_setrlimit(struct lwp *, co |
|
Line 1087 int linux_sys_setrlimit(struct lwp *, co |
|
|
|
int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *); |
int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *); |
|
|
int sys_getrusage(struct lwp *, const struct sys_getrusage_args *, register_t *); |
int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); |
|
|
int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); |
int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); |
|
|
Line 1067 int linux_sys_fstatfs(struct lwp *, cons |
|
Line 1146 int linux_sys_fstatfs(struct lwp *, cons |
|
|
|
int linux_sys_socketcall(struct lwp *, const struct linux_sys_socketcall_args *, register_t *); |
int linux_sys_socketcall(struct lwp *, const struct linux_sys_socketcall_args *, register_t *); |
|
|
int sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *); |
int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); |
|
|
int sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *); |
int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); |
|
|
int linux_sys_stat(struct lwp *, const struct linux_sys_stat_args *, register_t *); |
int linux_sys_stat(struct lwp *, const struct linux_sys_stat_args *, register_t *); |
|
|
Line 1153 int linux_sys_sched_get_priority_max(str |
|
Line 1232 int linux_sys_sched_get_priority_max(str |
|
|
|
int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *); |
int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *); |
|
|
int sys_nanosleep(struct lwp *, const struct sys_nanosleep_args *, register_t *); |
int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *); |
|
|
int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *); |
int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *); |
|
|
Line 1230 int sys___posix_lchown(struct lwp *, con |
|
Line 1309 int sys___posix_lchown(struct lwp *, con |
|
|
|
int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *); |
int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *); |
|
|
|
int linux_sys_gettid(struct lwp *, const void *, register_t *); |
|
|
|
int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *); |
|
|
int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); |
int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); |
|
|
int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); |
int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); |
Line 1254 int linux_sys_lremovexattr(struct lwp *, |
|
Line 1337 int linux_sys_lremovexattr(struct lwp *, |
|
|
|
int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); |
int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); |
|
|
|
int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); |
|
|
|
int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *); |
|
|
int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); |
int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); |
|
|
int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); |
int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); |
Line 1262 int linux_sys_clock_getres(struct lwp *, |
|
Line 1349 int linux_sys_clock_getres(struct lwp *, |
|
|
|
int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *); |
int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_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 *); |
|
|
|
int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_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_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *); |
|
|
|
int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *); |
|
|
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ |
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */ |