The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/amd64/linux32/linux32_proto.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD: releng/6.1/sys/amd64/linux32/linux32_proto.h 148191 2005-07-20 17:43:53Z jhb $
    6  * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4.2.1 2005/07/20 17:42:14 jhb Exp 
    7  */
    8 
    9 #ifndef _LINUX_SYSPROTO_H_
   10 #define _LINUX_SYSPROTO_H_
   11 
   12 #include <sys/signal.h>
   13 #include <sys/acl.h>
   14 #include <sys/thr.h>
   15 #include <sys/umtx.h>
   16 #include <posix4/_semaphore.h>
   17 
   18 #include <sys/ucontext.h>
   19 
   20 struct proc;
   21 
   22 struct thread;
   23 
   24 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   25                 0 : sizeof(register_t) - sizeof(t))
   26 
   27 #if BYTE_ORDER == LITTLE_ENDIAN
   28 #define PADL_(t)        0
   29 #define PADR_(t)        PAD_(t)
   30 #else
   31 #define PADL_(t)        PAD_(t)
   32 #define PADR_(t)        0
   33 #endif
   34 
   35 #define nosys   linux_nosys
   36 struct linux_fork_args {
   37         register_t dummy;
   38 };
   39 struct linux_open_args {
   40         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   41         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
   42         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
   43 };
   44 struct linux_waitpid_args {
   45         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
   46         char status_l_[PADL_(l_int *)]; l_int * status; char status_r_[PADR_(l_int *)];
   47         char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
   48 };
   49 struct linux_creat_args {
   50         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   51         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
   52 };
   53 struct linux_link_args {
   54         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   55         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
   56 };
   57 struct linux_unlink_args {
   58         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   59 };
   60 struct linux_execve_args {
   61         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   62         char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)];
   63         char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)];
   64 };
   65 struct linux_chdir_args {
   66         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   67 };
   68 struct linux_time_args {
   69         char tm_l_[PADL_(l_time_t *)]; l_time_t * tm; char tm_r_[PADR_(l_time_t *)];
   70 };
   71 struct linux_mknod_args {
   72         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   73         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
   74         char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
   75 };
   76 struct linux_chmod_args {
   77         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   78         char mode_l_[PADL_(l_mode_t)]; l_mode_t mode; char mode_r_[PADR_(l_mode_t)];
   79 };
   80 struct linux_lchown16_args {
   81         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   82         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
   83         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
   84 };
   85 struct linux_lseek_args {
   86         char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
   87         char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
   88         char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
   89 };
   90 struct linux_getpid_args {
   91         register_t dummy;
   92 };
   93 struct linux_mount_args {
   94         char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
   95         char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)];
   96         char filesystemtype_l_[PADL_(char *)]; char * filesystemtype; char filesystemtype_r_[PADR_(char *)];
   97         char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)];
   98         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
   99 };
  100 struct linux_oldumount_args {
  101         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  102 };
  103 struct linux_setuid16_args {
  104         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  105 };
  106 struct linux_getuid16_args {
  107         register_t dummy;
  108 };
  109 struct linux_stime_args {
  110         register_t dummy;
  111 };
  112 struct linux_ptrace_args {
  113         char req_l_[PADL_(l_long)]; l_long req; char req_r_[PADR_(l_long)];
  114         char pid_l_[PADL_(l_long)]; l_long pid; char pid_r_[PADR_(l_long)];
  115         char addr_l_[PADL_(l_long)]; l_long addr; char addr_r_[PADR_(l_long)];
  116         char data_l_[PADL_(l_long)]; l_long data; char data_r_[PADR_(l_long)];
  117 };
  118 struct linux_alarm_args {
  119         char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
  120 };
  121 struct linux_pause_args {
  122         register_t dummy;
  123 };
  124 struct linux_utime_args {
  125         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  126         char times_l_[PADL_(struct l_utimbuf *)]; struct l_utimbuf * times; char times_r_[PADR_(struct l_utimbuf *)];
  127 };
  128 struct linux_access_args {
  129         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  130         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  131 };
  132 struct linux_nice_args {
  133         char inc_l_[PADL_(l_int)]; l_int inc; char inc_r_[PADR_(l_int)];
  134 };
  135 struct linux_kill_args {
  136         char pid_l_[PADL_(l_int)]; l_int pid; char pid_r_[PADR_(l_int)];
  137         char signum_l_[PADL_(l_int)]; l_int signum; char signum_r_[PADR_(l_int)];
  138 };
  139 struct linux_rename_args {
  140         char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
  141         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  142 };
  143 struct linux_mkdir_args {
  144         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  145         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
  146 };
  147 struct linux_rmdir_args {
  148         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  149 };
  150 struct linux_pipe_args {
  151         char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
  152 };
  153 struct linux_times_args {
  154         char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
  155 };
  156 struct linux_brk_args {
  157         char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
  158 };
  159 struct linux_setgid16_args {
  160         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  161 };
  162 struct linux_getgid16_args {
  163         register_t dummy;
  164 };
  165 struct linux_signal_args {
  166         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  167         char handler_l_[PADL_(l_handler_t)]; l_handler_t handler; char handler_r_[PADR_(l_handler_t)];
  168 };
  169 struct linux_geteuid16_args {
  170         register_t dummy;
  171 };
  172 struct linux_getegid16_args {
  173         register_t dummy;
  174 };
  175 struct linux_umount_args {
  176         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  177         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  178 };
  179 struct linux_ioctl_args {
  180         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  181         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  182         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  183 };
  184 struct linux_fcntl_args {
  185         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  186         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  187         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  188 };
  189 struct linux_olduname_args {
  190         register_t dummy;
  191 };
  192 struct linux_ustat_args {
  193         char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
  194         char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
  195 };
  196 struct linux_sigaction_args {
  197         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  198         char nsa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * nsa; char nsa_r_[PADR_(l_osigaction_t *)];
  199         char osa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * osa; char osa_r_[PADR_(l_osigaction_t *)];
  200 };
  201 struct linux_sgetmask_args {
  202         register_t dummy;
  203 };
  204 struct linux_ssetmask_args {
  205         char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
  206 };
  207 struct linux_setreuid16_args {
  208         char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
  209         char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
  210 };
  211 struct linux_setregid16_args {
  212         char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
  213         char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
  214 };
  215 struct linux_sigsuspend_args {
  216         char hist0_l_[PADL_(l_int)]; l_int hist0; char hist0_r_[PADR_(l_int)];
  217         char hist1_l_[PADL_(l_int)]; l_int hist1; char hist1_r_[PADR_(l_int)];
  218         char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
  219 };
  220 struct linux_sigpending_args {
  221         char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
  222 };
  223 struct linux_setrlimit_args {
  224         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  225         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  226 };
  227 struct linux_old_getrlimit_args {
  228         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  229         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  230 };
  231 struct linux_getrusage_args {
  232         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  233         char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
  234 };
  235 struct linux_gettimeofday_args {
  236         char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
  237         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  238 };
  239 struct linux_settimeofday_args {
  240         char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
  241         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  242 };
  243 struct linux_getgroups16_args {
  244         char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
  245         char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
  246 };
  247 struct linux_setgroups16_args {
  248         char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
  249         char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
  250 };
  251 struct linux_old_select_args {
  252         char ptr_l_[PADL_(struct l_old_select_argv *)]; struct l_old_select_argv * ptr; char ptr_r_[PADR_(struct l_old_select_argv *)];
  253 };
  254 struct linux_symlink_args {
  255         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  256         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  257 };
  258 struct linux_readlink_args {
  259         char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
  260         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  261         char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
  262 };
  263 struct linux_reboot_args {
  264         char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
  265         char magic2_l_[PADL_(l_int)]; l_int magic2; char magic2_r_[PADR_(l_int)];
  266         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  267         char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
  268 };
  269 struct linux_readdir_args {
  270         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  271         char dent_l_[PADL_(struct l_dirent *)]; struct l_dirent * dent; char dent_r_[PADR_(struct l_dirent *)];
  272         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  273 };
  274 struct linux_mmap_args {
  275         char ptr_l_[PADL_(struct l_mmap_argv *)]; struct l_mmap_argv * ptr; char ptr_r_[PADR_(struct l_mmap_argv *)];
  276 };
  277 struct linux_truncate_args {
  278         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  279         char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
  280 };
  281 struct linux_getpriority_args {
  282         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  283         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  284 };
  285 struct linux_statfs_args {
  286         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  287         char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
  288 };
  289 struct linux_fstatfs_args {
  290         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  291         char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
  292 };
  293 struct linux_socketcall_args {
  294         char what_l_[PADL_(l_int)]; l_int what; char what_r_[PADR_(l_int)];
  295         char args_l_[PADL_(l_ulong)]; l_ulong args; char args_r_[PADR_(l_ulong)];
  296 };
  297 struct linux_syslog_args {
  298         char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
  299         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  300         char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
  301 };
  302 struct linux_setitimer_args {
  303         char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
  304         char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
  305         char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
  306 };
  307 struct linux_getitimer_args {
  308         char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
  309         char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
  310 };
  311 struct linux_newstat_args {
  312         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  313         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  314 };
  315 struct linux_newlstat_args {
  316         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  317         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  318 };
  319 struct linux_newfstat_args {
  320         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  321         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  322 };
  323 struct linux_uname_args {
  324         register_t dummy;
  325 };
  326 struct linux_vhangup_args {
  327         register_t dummy;
  328 };
  329 struct linux_wait4_args {
  330         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  331         char status_l_[PADL_(l_uint *)]; l_uint * status; char status_r_[PADR_(l_uint *)];
  332         char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
  333         char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
  334 };
  335 struct linux_swapoff_args {
  336         register_t dummy;
  337 };
  338 struct linux_sysinfo_args {
  339         char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
  340 };
  341 struct linux_ipc_args {
  342         char what_l_[PADL_(l_uint)]; l_uint what; char what_r_[PADR_(l_uint)];
  343         char arg1_l_[PADL_(l_int)]; l_int arg1; char arg1_r_[PADR_(l_int)];
  344         char arg2_l_[PADL_(l_int)]; l_int arg2; char arg2_r_[PADR_(l_int)];
  345         char arg3_l_[PADL_(l_int)]; l_int arg3; char arg3_r_[PADR_(l_int)];
  346         char ptr_l_[PADL_(void *)]; void * ptr; char ptr_r_[PADR_(void *)];
  347         char arg5_l_[PADL_(l_long)]; l_long arg5; char arg5_r_[PADR_(l_long)];
  348 };
  349 struct linux_sigreturn_args {
  350         char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
  351 };
  352 struct linux_clone_args {
  353         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  354         char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
  355 };
  356 struct linux_newuname_args {
  357         char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
  358 };
  359 struct linux_adjtimex_args {
  360         register_t dummy;
  361 };
  362 struct linux_mprotect_args {
  363         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  364         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  365         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  366 };
  367 struct linux_sigprocmask_args {
  368         char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
  369         char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
  370         char omask_l_[PADL_(l_osigset_t *)]; l_osigset_t * omask; char omask_r_[PADR_(l_osigset_t *)];
  371 };
  372 struct linux_create_module_args {
  373         register_t dummy;
  374 };
  375 struct linux_init_module_args {
  376         register_t dummy;
  377 };
  378 struct linux_delete_module_args {
  379         register_t dummy;
  380 };
  381 struct linux_get_kernel_syms_args {
  382         register_t dummy;
  383 };
  384 struct linux_quotactl_args {
  385         register_t dummy;
  386 };
  387 struct linux_bdflush_args {
  388         register_t dummy;
  389 };
  390 struct linux_sysfs_args {
  391         char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
  392         char arg1_l_[PADL_(l_ulong)]; l_ulong arg1; char arg1_r_[PADR_(l_ulong)];
  393         char arg2_l_[PADL_(l_ulong)]; l_ulong arg2; char arg2_r_[PADR_(l_ulong)];
  394 };
  395 struct linux_personality_args {
  396         char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
  397 };
  398 struct linux_setfsuid16_args {
  399         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  400 };
  401 struct linux_setfsgid16_args {
  402         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  403 };
  404 struct linux_llseek_args {
  405         char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
  406         char ohigh_l_[PADL_(l_ulong)]; l_ulong ohigh; char ohigh_r_[PADR_(l_ulong)];
  407         char olow_l_[PADL_(l_ulong)]; l_ulong olow; char olow_r_[PADR_(l_ulong)];
  408         char res_l_[PADL_(l_loff_t *)]; l_loff_t * res; char res_r_[PADR_(l_loff_t *)];
  409         char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)];
  410 };
  411 struct linux_getdents_args {
  412         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  413         char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
  414         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  415 };
  416 struct linux_select_args {
  417         char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
  418         char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
  419         char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
  420         char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
  421         char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
  422 };
  423 struct linux_msync_args {
  424         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  425         char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
  426         char fl_l_[PADL_(l_int)]; l_int fl; char fl_r_[PADR_(l_int)];
  427 };
  428 struct linux_readv_args {
  429         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  430         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  431         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  432 };
  433 struct linux_writev_args {
  434         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  435         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  436         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  437 };
  438 struct linux_getsid_args {
  439         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  440 };
  441 struct linux_fdatasync_args {
  442         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  443 };
  444 struct linux_sysctl_args {
  445         char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
  446 };
  447 struct linux_sched_setscheduler_args {
  448         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  449         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  450         char param_l_[PADL_(struct l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
  451 };
  452 struct linux_sched_getscheduler_args {
  453         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  454 };
  455 struct linux_sched_get_priority_max_args {
  456         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  457 };
  458 struct linux_sched_get_priority_min_args {
  459         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  460 };
  461 struct linux_sched_rr_get_interval_args {
  462         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  463         char interval_l_[PADL_(struct l_timespec *)]; struct l_timespec * interval; char interval_r_[PADR_(struct l_timespec *)];
  464 };
  465 struct linux_nanosleep_args {
  466         char rqtp_l_[PADL_(const struct l_timespec *)]; const struct l_timespec * rqtp; char rqtp_r_[PADR_(const struct l_timespec *)];
  467         char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)];
  468 };
  469 struct linux_mremap_args {
  470         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  471         char old_len_l_[PADL_(l_ulong)]; l_ulong old_len; char old_len_r_[PADR_(l_ulong)];
  472         char new_len_l_[PADL_(l_ulong)]; l_ulong new_len; char new_len_r_[PADR_(l_ulong)];
  473         char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
  474         char new_addr_l_[PADL_(l_ulong)]; l_ulong new_addr; char new_addr_r_[PADR_(l_ulong)];
  475 };
  476 struct linux_setresuid16_args {
  477         char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
  478         char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
  479         char suid_l_[PADL_(l_uid16_t)]; l_uid16_t suid; char suid_r_[PADR_(l_uid16_t)];
  480 };
  481 struct linux_getresuid16_args {
  482         char ruid_l_[PADL_(l_uid16_t *)]; l_uid16_t * ruid; char ruid_r_[PADR_(l_uid16_t *)];
  483         char euid_l_[PADL_(l_uid16_t *)]; l_uid16_t * euid; char euid_r_[PADR_(l_uid16_t *)];
  484         char suid_l_[PADL_(l_uid16_t *)]; l_uid16_t * suid; char suid_r_[PADR_(l_uid16_t *)];
  485 };
  486 struct linux_query_module_args {
  487         register_t dummy;
  488 };
  489 struct linux_nfsservctl_args {
  490         register_t dummy;
  491 };
  492 struct linux_setresgid16_args {
  493         char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
  494         char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
  495         char sgid_l_[PADL_(l_gid16_t)]; l_gid16_t sgid; char sgid_r_[PADR_(l_gid16_t)];
  496 };
  497 struct linux_getresgid16_args {
  498         char rgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * rgid; char rgid_r_[PADR_(l_gid16_t *)];
  499         char egid_l_[PADL_(l_gid16_t *)]; l_gid16_t * egid; char egid_r_[PADR_(l_gid16_t *)];
  500         char sgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * sgid; char sgid_r_[PADR_(l_gid16_t *)];
  501 };
  502 struct linux_prctl_args {
  503         register_t dummy;
  504 };
  505 struct linux_rt_sigreturn_args {
  506         char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucontext *)];
  507 };
  508 struct linux_rt_sigaction_args {
  509         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  510         char act_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * act; char act_r_[PADR_(l_sigaction_t *)];
  511         char oact_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * oact; char oact_r_[PADR_(l_sigaction_t *)];
  512         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  513 };
  514 struct linux_rt_sigprocmask_args {
  515         char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
  516         char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
  517         char omask_l_[PADL_(l_sigset_t *)]; l_sigset_t * omask; char omask_r_[PADR_(l_sigset_t *)];
  518         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  519 };
  520 struct linux_rt_sigpending_args {
  521         register_t dummy;
  522 };
  523 struct linux_rt_sigtimedwait_args {
  524         register_t dummy;
  525 };
  526 struct linux_rt_sigqueueinfo_args {
  527         register_t dummy;
  528 };
  529 struct linux_rt_sigsuspend_args {
  530         char newset_l_[PADL_(l_sigset_t *)]; l_sigset_t * newset; char newset_r_[PADR_(l_sigset_t *)];
  531         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  532 };
  533 struct linux_pread_args {
  534         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  535         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  536         char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
  537         char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
  538 };
  539 struct linux_pwrite_args {
  540         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  541         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  542         char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
  543         char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
  544 };
  545 struct linux_chown16_args {
  546         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  547         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  548         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  549 };
  550 struct linux_getcwd_args {
  551         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  552         char bufsize_l_[PADL_(l_ulong)]; l_ulong bufsize; char bufsize_r_[PADR_(l_ulong)];
  553 };
  554 struct linux_capget_args {
  555         register_t dummy;
  556 };
  557 struct linux_capset_args {
  558         register_t dummy;
  559 };
  560 struct linux_sigaltstack_args {
  561         char uss_l_[PADL_(l_stack_t *)]; l_stack_t * uss; char uss_r_[PADR_(l_stack_t *)];
  562         char uoss_l_[PADL_(l_stack_t *)]; l_stack_t * uoss; char uoss_r_[PADR_(l_stack_t *)];
  563 };
  564 struct linux_sendfile_args {
  565         register_t dummy;
  566 };
  567 struct linux_vfork_args {
  568         register_t dummy;
  569 };
  570 struct linux_getrlimit_args {
  571         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  572         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  573 };
  574 struct linux_mmap2_args {
  575         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  576         char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
  577         char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
  578         char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
  579         char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
  580         char pgoff_l_[PADL_(l_ulong)]; l_ulong pgoff; char pgoff_r_[PADR_(l_ulong)];
  581 };
  582 struct linux_truncate64_args {
  583         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  584         char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
  585 };
  586 struct linux_ftruncate64_args {
  587         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  588         char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
  589 };
  590 struct linux_stat64_args {
  591         char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
  592         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  593         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  594 };
  595 struct linux_lstat64_args {
  596         char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
  597         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  598         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  599 };
  600 struct linux_fstat64_args {
  601         char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
  602         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  603         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  604 };
  605 struct linux_lchown_args {
  606         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  607         char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
  608         char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
  609 };
  610 struct linux_getuid_args {
  611         register_t dummy;
  612 };
  613 struct linux_getgid_args {
  614         register_t dummy;
  615 };
  616 struct linux_getgroups_args {
  617         char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
  618         char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
  619 };
  620 struct linux_setgroups_args {
  621         char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
  622         char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
  623 };
  624 struct linux_chown_args {
  625         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  626         char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
  627         char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
  628 };
  629 struct linux_setfsuid_args {
  630         char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
  631 };
  632 struct linux_setfsgid_args {
  633         char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
  634 };
  635 struct linux_pivot_root_args {
  636         char new_root_l_[PADL_(char *)]; char * new_root; char new_root_r_[PADR_(char *)];
  637         char put_old_l_[PADL_(char *)]; char * put_old; char put_old_r_[PADR_(char *)];
  638 };
  639 struct linux_mincore_args {
  640         char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
  641         char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
  642         char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
  643 };
  644 struct linux_getdents64_args {
  645         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  646         char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
  647         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  648 };
  649 struct linux_fcntl64_args {
  650         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  651         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  652         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  653 };
  654 struct linux_setxattr_args {
  655         register_t dummy;
  656 };
  657 struct linux_lsetxattr_args {
  658         register_t dummy;
  659 };
  660 struct linux_fsetxattr_args {
  661         register_t dummy;
  662 };
  663 struct linux_getxattr_args {
  664         register_t dummy;
  665 };
  666 struct linux_lgetxattr_args {
  667         register_t dummy;
  668 };
  669 struct linux_fgetxattr_args {
  670         register_t dummy;
  671 };
  672 struct linux_listxattr_args {
  673         register_t dummy;
  674 };
  675 struct linux_llistxattr_args {
  676         register_t dummy;
  677 };
  678 struct linux_flistxattr_args {
  679         register_t dummy;
  680 };
  681 struct linux_removexattr_args {
  682         register_t dummy;
  683 };
  684 struct linux_lremovexattr_args {
  685         register_t dummy;
  686 };
  687 struct linux_fremovexattr_args {
  688         register_t dummy;
  689 };
  690 struct linux_fadvise64_args {
  691         register_t dummy;
  692 };
  693 #define nosys   linux_nosys
  694 int     linux_fork(struct thread *, struct linux_fork_args *);
  695 int     linux_open(struct thread *, struct linux_open_args *);
  696 int     linux_waitpid(struct thread *, struct linux_waitpid_args *);
  697 int     linux_creat(struct thread *, struct linux_creat_args *);
  698 int     linux_link(struct thread *, struct linux_link_args *);
  699 int     linux_unlink(struct thread *, struct linux_unlink_args *);
  700 int     linux_execve(struct thread *, struct linux_execve_args *);
  701 int     linux_chdir(struct thread *, struct linux_chdir_args *);
  702 int     linux_time(struct thread *, struct linux_time_args *);
  703 int     linux_mknod(struct thread *, struct linux_mknod_args *);
  704 int     linux_chmod(struct thread *, struct linux_chmod_args *);
  705 int     linux_lchown16(struct thread *, struct linux_lchown16_args *);
  706 int     linux_lseek(struct thread *, struct linux_lseek_args *);
  707 int     linux_getpid(struct thread *, struct linux_getpid_args *);
  708 int     linux_mount(struct thread *, struct linux_mount_args *);
  709 int     linux_oldumount(struct thread *, struct linux_oldumount_args *);
  710 int     linux_setuid16(struct thread *, struct linux_setuid16_args *);
  711 int     linux_getuid16(struct thread *, struct linux_getuid16_args *);
  712 int     linux_stime(struct thread *, struct linux_stime_args *);
  713 int     linux_ptrace(struct thread *, struct linux_ptrace_args *);
  714 int     linux_alarm(struct thread *, struct linux_alarm_args *);
  715 int     linux_pause(struct thread *, struct linux_pause_args *);
  716 int     linux_utime(struct thread *, struct linux_utime_args *);
  717 int     linux_access(struct thread *, struct linux_access_args *);
  718 int     linux_nice(struct thread *, struct linux_nice_args *);
  719 int     linux_kill(struct thread *, struct linux_kill_args *);
  720 int     linux_rename(struct thread *, struct linux_rename_args *);
  721 int     linux_mkdir(struct thread *, struct linux_mkdir_args *);
  722 int     linux_rmdir(struct thread *, struct linux_rmdir_args *);
  723 int     linux_pipe(struct thread *, struct linux_pipe_args *);
  724 int     linux_times(struct thread *, struct linux_times_args *);
  725 int     linux_brk(struct thread *, struct linux_brk_args *);
  726 int     linux_setgid16(struct thread *, struct linux_setgid16_args *);
  727 int     linux_getgid16(struct thread *, struct linux_getgid16_args *);
  728 int     linux_signal(struct thread *, struct linux_signal_args *);
  729 int     linux_geteuid16(struct thread *, struct linux_geteuid16_args *);
  730 int     linux_getegid16(struct thread *, struct linux_getegid16_args *);
  731 int     linux_umount(struct thread *, struct linux_umount_args *);
  732 int     linux_ioctl(struct thread *, struct linux_ioctl_args *);
  733 int     linux_fcntl(struct thread *, struct linux_fcntl_args *);
  734 int     linux_olduname(struct thread *, struct linux_olduname_args *);
  735 int     linux_ustat(struct thread *, struct linux_ustat_args *);
  736 int     linux_sigaction(struct thread *, struct linux_sigaction_args *);
  737 int     linux_sgetmask(struct thread *, struct linux_sgetmask_args *);
  738 int     linux_ssetmask(struct thread *, struct linux_ssetmask_args *);
  739 int     linux_setreuid16(struct thread *, struct linux_setreuid16_args *);
  740 int     linux_setregid16(struct thread *, struct linux_setregid16_args *);
  741 int     linux_sigsuspend(struct thread *, struct linux_sigsuspend_args *);
  742 int     linux_sigpending(struct thread *, struct linux_sigpending_args *);
  743 int     linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
  744 int     linux_old_getrlimit(struct thread *, struct linux_old_getrlimit_args *);
  745 int     linux_getrusage(struct thread *, struct linux_getrusage_args *);
  746 int     linux_gettimeofday(struct thread *, struct linux_gettimeofday_args *);
  747 int     linux_settimeofday(struct thread *, struct linux_settimeofday_args *);
  748 int     linux_getgroups16(struct thread *, struct linux_getgroups16_args *);
  749 int     linux_setgroups16(struct thread *, struct linux_setgroups16_args *);
  750 int     linux_old_select(struct thread *, struct linux_old_select_args *);
  751 int     linux_symlink(struct thread *, struct linux_symlink_args *);
  752 int     linux_readlink(struct thread *, struct linux_readlink_args *);
  753 int     linux_reboot(struct thread *, struct linux_reboot_args *);
  754 int     linux_readdir(struct thread *, struct linux_readdir_args *);
  755 int     linux_mmap(struct thread *, struct linux_mmap_args *);
  756 int     linux_truncate(struct thread *, struct linux_truncate_args *);
  757 int     linux_getpriority(struct thread *, struct linux_getpriority_args *);
  758 int     linux_statfs(struct thread *, struct linux_statfs_args *);
  759 int     linux_fstatfs(struct thread *, struct linux_fstatfs_args *);
  760 int     linux_socketcall(struct thread *, struct linux_socketcall_args *);
  761 int     linux_syslog(struct thread *, struct linux_syslog_args *);
  762 int     linux_setitimer(struct thread *, struct linux_setitimer_args *);
  763 int     linux_getitimer(struct thread *, struct linux_getitimer_args *);
  764 int     linux_newstat(struct thread *, struct linux_newstat_args *);
  765 int     linux_newlstat(struct thread *, struct linux_newlstat_args *);
  766 int     linux_newfstat(struct thread *, struct linux_newfstat_args *);
  767 int     linux_uname(struct thread *, struct linux_uname_args *);
  768 int     linux_vhangup(struct thread *, struct linux_vhangup_args *);
  769 int     linux_wait4(struct thread *, struct linux_wait4_args *);
  770 int     linux_swapoff(struct thread *, struct linux_swapoff_args *);
  771 int     linux_sysinfo(struct thread *, struct linux_sysinfo_args *);
  772 int     linux_ipc(struct thread *, struct linux_ipc_args *);
  773 int     linux_sigreturn(struct thread *, struct linux_sigreturn_args *);
  774 int     linux_clone(struct thread *, struct linux_clone_args *);
  775 int     linux_newuname(struct thread *, struct linux_newuname_args *);
  776 int     linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
  777 int     linux_mprotect(struct thread *, struct linux_mprotect_args *);
  778 int     linux_sigprocmask(struct thread *, struct linux_sigprocmask_args *);
  779 int     linux_create_module(struct thread *, struct linux_create_module_args *);
  780 int     linux_init_module(struct thread *, struct linux_init_module_args *);
  781 int     linux_delete_module(struct thread *, struct linux_delete_module_args *);
  782 int     linux_get_kernel_syms(struct thread *, struct linux_get_kernel_syms_args *);
  783 int     linux_quotactl(struct thread *, struct linux_quotactl_args *);
  784 int     linux_bdflush(struct thread *, struct linux_bdflush_args *);
  785 int     linux_sysfs(struct thread *, struct linux_sysfs_args *);
  786 int     linux_personality(struct thread *, struct linux_personality_args *);
  787 int     linux_setfsuid16(struct thread *, struct linux_setfsuid16_args *);
  788 int     linux_setfsgid16(struct thread *, struct linux_setfsgid16_args *);
  789 int     linux_llseek(struct thread *, struct linux_llseek_args *);
  790 int     linux_getdents(struct thread *, struct linux_getdents_args *);
  791 int     linux_select(struct thread *, struct linux_select_args *);
  792 int     linux_msync(struct thread *, struct linux_msync_args *);
  793 int     linux_readv(struct thread *, struct linux_readv_args *);
  794 int     linux_writev(struct thread *, struct linux_writev_args *);
  795 int     linux_getsid(struct thread *, struct linux_getsid_args *);
  796 int     linux_fdatasync(struct thread *, struct linux_fdatasync_args *);
  797 int     linux_sysctl(struct thread *, struct linux_sysctl_args *);
  798 int     linux_sched_setscheduler(struct thread *, struct linux_sched_setscheduler_args *);
  799 int     linux_sched_getscheduler(struct thread *, struct linux_sched_getscheduler_args *);
  800 int     linux_sched_get_priority_max(struct thread *, struct linux_sched_get_priority_max_args *);
  801 int     linux_sched_get_priority_min(struct thread *, struct linux_sched_get_priority_min_args *);
  802 int     linux_sched_rr_get_interval(struct thread *, struct linux_sched_rr_get_interval_args *);
  803 int     linux_nanosleep(struct thread *, struct linux_nanosleep_args *);
  804 int     linux_mremap(struct thread *, struct linux_mremap_args *);
  805 int     linux_setresuid16(struct thread *, struct linux_setresuid16_args *);
  806 int     linux_getresuid16(struct thread *, struct linux_getresuid16_args *);
  807 int     linux_query_module(struct thread *, struct linux_query_module_args *);
  808 int     linux_nfsservctl(struct thread *, struct linux_nfsservctl_args *);
  809 int     linux_setresgid16(struct thread *, struct linux_setresgid16_args *);
  810 int     linux_getresgid16(struct thread *, struct linux_getresgid16_args *);
  811 int     linux_prctl(struct thread *, struct linux_prctl_args *);
  812 int     linux_rt_sigreturn(struct thread *, struct linux_rt_sigreturn_args *);
  813 int     linux_rt_sigaction(struct thread *, struct linux_rt_sigaction_args *);
  814 int     linux_rt_sigprocmask(struct thread *, struct linux_rt_sigprocmask_args *);
  815 int     linux_rt_sigpending(struct thread *, struct linux_rt_sigpending_args *);
  816 int     linux_rt_sigtimedwait(struct thread *, struct linux_rt_sigtimedwait_args *);
  817 int     linux_rt_sigqueueinfo(struct thread *, struct linux_rt_sigqueueinfo_args *);
  818 int     linux_rt_sigsuspend(struct thread *, struct linux_rt_sigsuspend_args *);
  819 int     linux_pread(struct thread *, struct linux_pread_args *);
  820 int     linux_pwrite(struct thread *, struct linux_pwrite_args *);
  821 int     linux_chown16(struct thread *, struct linux_chown16_args *);
  822 int     linux_getcwd(struct thread *, struct linux_getcwd_args *);
  823 int     linux_capget(struct thread *, struct linux_capget_args *);
  824 int     linux_capset(struct thread *, struct linux_capset_args *);
  825 int     linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
  826 int     linux_sendfile(struct thread *, struct linux_sendfile_args *);
  827 int     linux_vfork(struct thread *, struct linux_vfork_args *);
  828 int     linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
  829 int     linux_mmap2(struct thread *, struct linux_mmap2_args *);
  830 int     linux_truncate64(struct thread *, struct linux_truncate64_args *);
  831 int     linux_ftruncate64(struct thread *, struct linux_ftruncate64_args *);
  832 int     linux_stat64(struct thread *, struct linux_stat64_args *);
  833 int     linux_lstat64(struct thread *, struct linux_lstat64_args *);
  834 int     linux_fstat64(struct thread *, struct linux_fstat64_args *);
  835 int     linux_lchown(struct thread *, struct linux_lchown_args *);
  836 int     linux_getuid(struct thread *, struct linux_getuid_args *);
  837 int     linux_getgid(struct thread *, struct linux_getgid_args *);
  838 int     linux_getgroups(struct thread *, struct linux_getgroups_args *);
  839 int     linux_setgroups(struct thread *, struct linux_setgroups_args *);
  840 int     linux_chown(struct thread *, struct linux_chown_args *);
  841 int     linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
  842 int     linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
  843 int     linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
  844 int     linux_mincore(struct thread *, struct linux_mincore_args *);
  845 int     linux_getdents64(struct thread *, struct linux_getdents64_args *);
  846 int     linux_fcntl64(struct thread *, struct linux_fcntl64_args *);
  847 int     linux_setxattr(struct thread *, struct linux_setxattr_args *);
  848 int     linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *);
  849 int     linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *);
  850 int     linux_getxattr(struct thread *, struct linux_getxattr_args *);
  851 int     linux_lgetxattr(struct thread *, struct linux_lgetxattr_args *);
  852 int     linux_fgetxattr(struct thread *, struct linux_fgetxattr_args *);
  853 int     linux_listxattr(struct thread *, struct linux_listxattr_args *);
  854 int     linux_llistxattr(struct thread *, struct linux_llistxattr_args *);
  855 int     linux_flistxattr(struct thread *, struct linux_flistxattr_args *);
  856 int     linux_removexattr(struct thread *, struct linux_removexattr_args *);
  857 int     linux_lremovexattr(struct thread *, struct linux_lremovexattr_args *);
  858 int     linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *);
  859 int     linux_fadvise64(struct thread *, struct linux_fadvise64_args *);
  860 
  861 #ifdef COMPAT_43
  862 
  863 #define nosys   linux_nosys
  864 
  865 #endif /* COMPAT_43 */
  866 
  867 
  868 #ifdef COMPAT_FREEBSD4
  869 
  870 #define nosys   linux_nosys
  871 
  872 #endif /* COMPAT_FREEBSD4 */
  873 
  874 #undef PAD_
  875 #undef PADL_
  876 #undef PADR_
  877 
  878 #endif /* !_LINUX_SYSPROTO_H_ */

Cache object: 2e2f7117ae68efbedce30e8dace32712


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.