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$
    6  * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4.2.5 2007/12/08 08:48:07 dwmalone 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_stat_args {
   86         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
   87         char up_l_[PADL_(struct linux_stat *)]; struct linux_stat * up; char up_r_[PADR_(struct linux_stat *)];
   88 };
   89 struct linux_lseek_args {
   90         char fdes_l_[PADL_(l_uint)]; l_uint fdes; char fdes_r_[PADR_(l_uint)];
   91         char off_l_[PADL_(l_off_t)]; l_off_t off; char off_r_[PADR_(l_off_t)];
   92         char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
   93 };
   94 struct linux_getpid_args {
   95         register_t dummy;
   96 };
   97 struct linux_mount_args {
   98         char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
   99         char dir_l_[PADL_(char *)]; char * dir; char dir_r_[PADR_(char *)];
  100         char filesystemtype_l_[PADL_(char *)]; char * filesystemtype; char filesystemtype_r_[PADR_(char *)];
  101         char rwflag_l_[PADL_(l_ulong)]; l_ulong rwflag; char rwflag_r_[PADR_(l_ulong)];
  102         char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
  103 };
  104 struct linux_oldumount_args {
  105         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  106 };
  107 struct linux_setuid16_args {
  108         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  109 };
  110 struct linux_getuid16_args {
  111         register_t dummy;
  112 };
  113 struct linux_stime_args {
  114         register_t dummy;
  115 };
  116 struct linux_ptrace_args {
  117         char req_l_[PADL_(l_long)]; l_long req; char req_r_[PADR_(l_long)];
  118         char pid_l_[PADL_(l_long)]; l_long pid; char pid_r_[PADR_(l_long)];
  119         char addr_l_[PADL_(l_long)]; l_long addr; char addr_r_[PADR_(l_long)];
  120         char data_l_[PADL_(l_long)]; l_long data; char data_r_[PADR_(l_long)];
  121 };
  122 struct linux_alarm_args {
  123         char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
  124 };
  125 struct linux_pause_args {
  126         register_t dummy;
  127 };
  128 struct linux_utime_args {
  129         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  130         char times_l_[PADL_(struct l_utimbuf *)]; struct l_utimbuf * times; char times_r_[PADR_(struct l_utimbuf *)];
  131 };
  132 struct linux_access_args {
  133         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  134         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  135 };
  136 struct linux_nice_args {
  137         char inc_l_[PADL_(l_int)]; l_int inc; char inc_r_[PADR_(l_int)];
  138 };
  139 struct linux_kill_args {
  140         char pid_l_[PADL_(l_int)]; l_int pid; char pid_r_[PADR_(l_int)];
  141         char signum_l_[PADL_(l_int)]; l_int signum; char signum_r_[PADR_(l_int)];
  142 };
  143 struct linux_rename_args {
  144         char from_l_[PADL_(char *)]; char * from; char from_r_[PADR_(char *)];
  145         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  146 };
  147 struct linux_mkdir_args {
  148         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  149         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
  150 };
  151 struct linux_rmdir_args {
  152         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  153 };
  154 struct linux_pipe_args {
  155         char pipefds_l_[PADL_(l_ulong *)]; l_ulong * pipefds; char pipefds_r_[PADR_(l_ulong *)];
  156 };
  157 struct linux_times_args {
  158         char buf_l_[PADL_(struct l_times_argv *)]; struct l_times_argv * buf; char buf_r_[PADR_(struct l_times_argv *)];
  159 };
  160 struct linux_brk_args {
  161         char dsend_l_[PADL_(l_ulong)]; l_ulong dsend; char dsend_r_[PADR_(l_ulong)];
  162 };
  163 struct linux_setgid16_args {
  164         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  165 };
  166 struct linux_getgid16_args {
  167         register_t dummy;
  168 };
  169 struct linux_signal_args {
  170         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  171         char handler_l_[PADL_(l_handler_t)]; l_handler_t handler; char handler_r_[PADR_(l_handler_t)];
  172 };
  173 struct linux_geteuid16_args {
  174         register_t dummy;
  175 };
  176 struct linux_getegid16_args {
  177         register_t dummy;
  178 };
  179 struct linux_umount_args {
  180         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  181         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  182 };
  183 struct linux_ioctl_args {
  184         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  185         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  186         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  187 };
  188 struct linux_fcntl_args {
  189         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  190         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  191         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  192 };
  193 struct linux_olduname_args {
  194         register_t dummy;
  195 };
  196 struct linux_ustat_args {
  197         char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
  198         char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
  199 };
  200 struct linux_sigaction_args {
  201         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  202         char nsa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * nsa; char nsa_r_[PADR_(l_osigaction_t *)];
  203         char osa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * osa; char osa_r_[PADR_(l_osigaction_t *)];
  204 };
  205 struct linux_sgetmask_args {
  206         register_t dummy;
  207 };
  208 struct linux_ssetmask_args {
  209         char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
  210 };
  211 struct linux_setreuid16_args {
  212         char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
  213         char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
  214 };
  215 struct linux_setregid16_args {
  216         char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
  217         char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
  218 };
  219 struct linux_sigsuspend_args {
  220         char hist0_l_[PADL_(l_int)]; l_int hist0; char hist0_r_[PADR_(l_int)];
  221         char hist1_l_[PADL_(l_int)]; l_int hist1; char hist1_r_[PADR_(l_int)];
  222         char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
  223 };
  224 struct linux_sigpending_args {
  225         char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
  226 };
  227 struct linux_sethostname_args {
  228         char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)];
  229         char len_l_[PADL_(u_int)]; u_int len; char len_r_[PADR_(u_int)];
  230 };
  231 struct linux_setrlimit_args {
  232         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  233         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  234 };
  235 struct linux_old_getrlimit_args {
  236         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  237         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  238 };
  239 struct linux_getrusage_args {
  240         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  241         char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
  242 };
  243 struct linux_gettimeofday_args {
  244         char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
  245         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  246 };
  247 struct linux_settimeofday_args {
  248         char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
  249         char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
  250 };
  251 struct linux_getgroups16_args {
  252         char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
  253         char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
  254 };
  255 struct linux_setgroups16_args {
  256         char gidsetsize_l_[PADL_(l_uint)]; l_uint gidsetsize; char gidsetsize_r_[PADR_(l_uint)];
  257         char gidset_l_[PADL_(l_gid16_t *)]; l_gid16_t * gidset; char gidset_r_[PADR_(l_gid16_t *)];
  258 };
  259 struct linux_old_select_args {
  260         char ptr_l_[PADL_(struct l_old_select_argv *)]; struct l_old_select_argv * ptr; char ptr_r_[PADR_(struct l_old_select_argv *)];
  261 };
  262 struct linux_symlink_args {
  263         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  264         char to_l_[PADL_(char *)]; char * to; char to_r_[PADR_(char *)];
  265 };
  266 struct linux_lstat_args {
  267         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  268         char up_l_[PADL_(struct ostat *)]; struct ostat * up; char up_r_[PADR_(struct ostat *)];
  269 };
  270 struct linux_readlink_args {
  271         char name_l_[PADL_(char *)]; char * name; char name_r_[PADR_(char *)];
  272         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  273         char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
  274 };
  275 struct linux_reboot_args {
  276         char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
  277         char magic2_l_[PADL_(l_int)]; l_int magic2; char magic2_r_[PADR_(l_int)];
  278         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  279         char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
  280 };
  281 struct linux_readdir_args {
  282         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  283         char dent_l_[PADL_(struct l_dirent *)]; struct l_dirent * dent; char dent_r_[PADR_(struct l_dirent *)];
  284         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  285 };
  286 struct linux_mmap_args {
  287         char ptr_l_[PADL_(struct l_mmap_argv *)]; struct l_mmap_argv * ptr; char ptr_r_[PADR_(struct l_mmap_argv *)];
  288 };
  289 struct linux_truncate_args {
  290         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  291         char length_l_[PADL_(l_ulong)]; l_ulong length; char length_r_[PADR_(l_ulong)];
  292 };
  293 struct linux_ftruncate_args {
  294         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  295         char length_l_[PADL_(long)]; long length; char length_r_[PADR_(long)];
  296 };
  297 struct linux_getpriority_args {
  298         char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
  299         char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
  300 };
  301 struct linux_statfs_args {
  302         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  303         char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
  304 };
  305 struct linux_fstatfs_args {
  306         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  307         char buf_l_[PADL_(struct l_statfs_buf *)]; struct l_statfs_buf * buf; char buf_r_[PADR_(struct l_statfs_buf *)];
  308 };
  309 struct linux_socketcall_args {
  310         char what_l_[PADL_(l_int)]; l_int what; char what_r_[PADR_(l_int)];
  311         char args_l_[PADL_(l_ulong)]; l_ulong args; char args_r_[PADR_(l_ulong)];
  312 };
  313 struct linux_syslog_args {
  314         char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
  315         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  316         char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
  317 };
  318 struct linux_setitimer_args {
  319         char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
  320         char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
  321         char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
  322 };
  323 struct linux_getitimer_args {
  324         char which_l_[PADL_(l_int)]; l_int which; char which_r_[PADR_(l_int)];
  325         char itv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * itv; char itv_r_[PADR_(struct l_itimerval *)];
  326 };
  327 struct linux_newstat_args {
  328         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  329         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  330 };
  331 struct linux_newlstat_args {
  332         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  333         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  334 };
  335 struct linux_newfstat_args {
  336         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  337         char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
  338 };
  339 struct linux_uname_args {
  340         register_t dummy;
  341 };
  342 struct linux_iopl_args {
  343         char level_l_[PADL_(l_ulong)]; l_ulong level; char level_r_[PADR_(l_ulong)];
  344 };
  345 struct linux_vhangup_args {
  346         register_t dummy;
  347 };
  348 struct linux_wait4_args {
  349         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  350         char status_l_[PADL_(l_uint *)]; l_uint * status; char status_r_[PADR_(l_uint *)];
  351         char options_l_[PADL_(l_int)]; l_int options; char options_r_[PADR_(l_int)];
  352         char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
  353 };
  354 struct linux_swapoff_args {
  355         register_t dummy;
  356 };
  357 struct linux_sysinfo_args {
  358         char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
  359 };
  360 struct linux_ipc_args {
  361         char what_l_[PADL_(l_uint)]; l_uint what; char what_r_[PADR_(l_uint)];
  362         char arg1_l_[PADL_(l_int)]; l_int arg1; char arg1_r_[PADR_(l_int)];
  363         char arg2_l_[PADL_(l_int)]; l_int arg2; char arg2_r_[PADR_(l_int)];
  364         char arg3_l_[PADL_(l_int)]; l_int arg3; char arg3_r_[PADR_(l_int)];
  365         char ptr_l_[PADL_(void *)]; void * ptr; char ptr_r_[PADR_(void *)];
  366         char arg5_l_[PADL_(l_long)]; l_long arg5; char arg5_r_[PADR_(l_long)];
  367 };
  368 struct linux_sigreturn_args {
  369         char sfp_l_[PADL_(struct l_sigframe *)]; struct l_sigframe * sfp; char sfp_r_[PADR_(struct l_sigframe *)];
  370 };
  371 struct linux_clone_args {
  372         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  373         char stack_l_[PADL_(void *)]; void * stack; char stack_r_[PADR_(void *)];
  374 };
  375 struct linux_newuname_args {
  376         char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
  377 };
  378 struct linux_adjtimex_args {
  379         register_t dummy;
  380 };
  381 struct linux_mprotect_args {
  382         char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
  383         char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
  384         char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
  385 };
  386 struct linux_sigprocmask_args {
  387         char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
  388         char mask_l_[PADL_(l_osigset_t *)]; l_osigset_t * mask; char mask_r_[PADR_(l_osigset_t *)];
  389         char omask_l_[PADL_(l_osigset_t *)]; l_osigset_t * omask; char omask_r_[PADR_(l_osigset_t *)];
  390 };
  391 struct linux_create_module_args {
  392         register_t dummy;
  393 };
  394 struct linux_init_module_args {
  395         register_t dummy;
  396 };
  397 struct linux_delete_module_args {
  398         register_t dummy;
  399 };
  400 struct linux_get_kernel_syms_args {
  401         register_t dummy;
  402 };
  403 struct linux_quotactl_args {
  404         register_t dummy;
  405 };
  406 struct linux_bdflush_args {
  407         register_t dummy;
  408 };
  409 struct linux_sysfs_args {
  410         char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
  411         char arg1_l_[PADL_(l_ulong)]; l_ulong arg1; char arg1_r_[PADR_(l_ulong)];
  412         char arg2_l_[PADL_(l_ulong)]; l_ulong arg2; char arg2_r_[PADR_(l_ulong)];
  413 };
  414 struct linux_personality_args {
  415         char per_l_[PADL_(l_ulong)]; l_ulong per; char per_r_[PADR_(l_ulong)];
  416 };
  417 struct linux_setfsuid16_args {
  418         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  419 };
  420 struct linux_setfsgid16_args {
  421         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  422 };
  423 struct linux_llseek_args {
  424         char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
  425         char ohigh_l_[PADL_(l_ulong)]; l_ulong ohigh; char ohigh_r_[PADR_(l_ulong)];
  426         char olow_l_[PADL_(l_ulong)]; l_ulong olow; char olow_r_[PADR_(l_ulong)];
  427         char res_l_[PADL_(l_loff_t *)]; l_loff_t * res; char res_r_[PADR_(l_loff_t *)];
  428         char whence_l_[PADL_(l_uint)]; l_uint whence; char whence_r_[PADR_(l_uint)];
  429 };
  430 struct linux_getdents_args {
  431         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  432         char dent_l_[PADL_(void *)]; void * dent; char dent_r_[PADR_(void *)];
  433         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  434 };
  435 struct linux_select_args {
  436         char nfds_l_[PADL_(l_int)]; l_int nfds; char nfds_r_[PADR_(l_int)];
  437         char readfds_l_[PADL_(l_fd_set *)]; l_fd_set * readfds; char readfds_r_[PADR_(l_fd_set *)];
  438         char writefds_l_[PADL_(l_fd_set *)]; l_fd_set * writefds; char writefds_r_[PADR_(l_fd_set *)];
  439         char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)];
  440         char timeout_l_[PADL_(struct l_timeval *)]; struct l_timeval * timeout; char timeout_r_[PADR_(struct l_timeval *)];
  441 };
  442 struct linux_msync_args {
  443         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  444         char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
  445         char fl_l_[PADL_(l_int)]; l_int fl; char fl_r_[PADR_(l_int)];
  446 };
  447 struct linux_readv_args {
  448         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  449         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  450         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  451 };
  452 struct linux_writev_args {
  453         char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
  454         char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
  455         char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
  456 };
  457 struct linux_getsid_args {
  458         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  459 };
  460 struct linux_fdatasync_args {
  461         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  462 };
  463 struct linux_sysctl_args {
  464         char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
  465 };
  466 struct linux_sched_setscheduler_args {
  467         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  468         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  469         char param_l_[PADL_(struct l_sched_param *)]; struct l_sched_param * param; char param_r_[PADR_(struct l_sched_param *)];
  470 };
  471 struct linux_sched_getscheduler_args {
  472         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  473 };
  474 struct linux_sched_get_priority_max_args {
  475         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  476 };
  477 struct linux_sched_get_priority_min_args {
  478         char policy_l_[PADL_(l_int)]; l_int policy; char policy_r_[PADR_(l_int)];
  479 };
  480 struct linux_sched_rr_get_interval_args {
  481         char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
  482         char interval_l_[PADL_(struct l_timespec *)]; struct l_timespec * interval; char interval_r_[PADR_(struct l_timespec *)];
  483 };
  484 struct linux_nanosleep_args {
  485         char rqtp_l_[PADL_(const struct l_timespec *)]; const struct l_timespec * rqtp; char rqtp_r_[PADR_(const struct l_timespec *)];
  486         char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)];
  487 };
  488 struct linux_mremap_args {
  489         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  490         char old_len_l_[PADL_(l_ulong)]; l_ulong old_len; char old_len_r_[PADR_(l_ulong)];
  491         char new_len_l_[PADL_(l_ulong)]; l_ulong new_len; char new_len_r_[PADR_(l_ulong)];
  492         char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
  493         char new_addr_l_[PADL_(l_ulong)]; l_ulong new_addr; char new_addr_r_[PADR_(l_ulong)];
  494 };
  495 struct linux_setresuid16_args {
  496         char ruid_l_[PADL_(l_uid16_t)]; l_uid16_t ruid; char ruid_r_[PADR_(l_uid16_t)];
  497         char euid_l_[PADL_(l_uid16_t)]; l_uid16_t euid; char euid_r_[PADR_(l_uid16_t)];
  498         char suid_l_[PADL_(l_uid16_t)]; l_uid16_t suid; char suid_r_[PADR_(l_uid16_t)];
  499 };
  500 struct linux_getresuid16_args {
  501         char ruid_l_[PADL_(l_uid16_t *)]; l_uid16_t * ruid; char ruid_r_[PADR_(l_uid16_t *)];
  502         char euid_l_[PADL_(l_uid16_t *)]; l_uid16_t * euid; char euid_r_[PADR_(l_uid16_t *)];
  503         char suid_l_[PADL_(l_uid16_t *)]; l_uid16_t * suid; char suid_r_[PADR_(l_uid16_t *)];
  504 };
  505 struct linux_query_module_args {
  506         register_t dummy;
  507 };
  508 struct linux_nfsservctl_args {
  509         register_t dummy;
  510 };
  511 struct linux_setresgid16_args {
  512         char rgid_l_[PADL_(l_gid16_t)]; l_gid16_t rgid; char rgid_r_[PADR_(l_gid16_t)];
  513         char egid_l_[PADL_(l_gid16_t)]; l_gid16_t egid; char egid_r_[PADR_(l_gid16_t)];
  514         char sgid_l_[PADL_(l_gid16_t)]; l_gid16_t sgid; char sgid_r_[PADR_(l_gid16_t)];
  515 };
  516 struct linux_getresgid16_args {
  517         char rgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * rgid; char rgid_r_[PADR_(l_gid16_t *)];
  518         char egid_l_[PADL_(l_gid16_t *)]; l_gid16_t * egid; char egid_r_[PADR_(l_gid16_t *)];
  519         char sgid_l_[PADL_(l_gid16_t *)]; l_gid16_t * sgid; char sgid_r_[PADR_(l_gid16_t *)];
  520 };
  521 struct linux_prctl_args {
  522         register_t dummy;
  523 };
  524 struct linux_rt_sigreturn_args {
  525         char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucontext *)];
  526 };
  527 struct linux_rt_sigaction_args {
  528         char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
  529         char act_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * act; char act_r_[PADR_(l_sigaction_t *)];
  530         char oact_l_[PADL_(l_sigaction_t *)]; l_sigaction_t * oact; char oact_r_[PADR_(l_sigaction_t *)];
  531         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  532 };
  533 struct linux_rt_sigprocmask_args {
  534         char how_l_[PADL_(l_int)]; l_int how; char how_r_[PADR_(l_int)];
  535         char mask_l_[PADL_(l_sigset_t *)]; l_sigset_t * mask; char mask_r_[PADR_(l_sigset_t *)];
  536         char omask_l_[PADL_(l_sigset_t *)]; l_sigset_t * omask; char omask_r_[PADR_(l_sigset_t *)];
  537         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  538 };
  539 struct linux_rt_sigpending_args {
  540         register_t dummy;
  541 };
  542 struct linux_rt_sigtimedwait_args {
  543         register_t dummy;
  544 };
  545 struct linux_rt_sigqueueinfo_args {
  546         register_t dummy;
  547 };
  548 struct linux_rt_sigsuspend_args {
  549         char newset_l_[PADL_(l_sigset_t *)]; l_sigset_t * newset; char newset_r_[PADR_(l_sigset_t *)];
  550         char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
  551 };
  552 struct linux_pread_args {
  553         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  554         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  555         char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
  556         char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
  557 };
  558 struct linux_pwrite_args {
  559         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  560         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  561         char nbyte_l_[PADL_(l_size_t)]; l_size_t nbyte; char nbyte_r_[PADR_(l_size_t)];
  562         char offset_l_[PADL_(l_loff_t)]; l_loff_t offset; char offset_r_[PADR_(l_loff_t)];
  563 };
  564 struct linux_chown16_args {
  565         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  566         char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
  567         char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
  568 };
  569 struct linux_getcwd_args {
  570         char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
  571         char bufsize_l_[PADL_(l_ulong)]; l_ulong bufsize; char bufsize_r_[PADR_(l_ulong)];
  572 };
  573 struct linux_capget_args {
  574         register_t dummy;
  575 };
  576 struct linux_capset_args {
  577         register_t dummy;
  578 };
  579 struct linux_sigaltstack_args {
  580         char uss_l_[PADL_(l_stack_t *)]; l_stack_t * uss; char uss_r_[PADR_(l_stack_t *)];
  581         char uoss_l_[PADL_(l_stack_t *)]; l_stack_t * uoss; char uoss_r_[PADR_(l_stack_t *)];
  582 };
  583 struct linux_sendfile_args {
  584         register_t dummy;
  585 };
  586 struct linux_vfork_args {
  587         register_t dummy;
  588 };
  589 struct linux_getrlimit_args {
  590         char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
  591         char rlim_l_[PADL_(struct l_rlimit *)]; struct l_rlimit * rlim; char rlim_r_[PADR_(struct l_rlimit *)];
  592 };
  593 struct linux_mmap2_args {
  594         char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
  595         char len_l_[PADL_(l_ulong)]; l_ulong len; char len_r_[PADR_(l_ulong)];
  596         char prot_l_[PADL_(l_ulong)]; l_ulong prot; char prot_r_[PADR_(l_ulong)];
  597         char flags_l_[PADL_(l_ulong)]; l_ulong flags; char flags_r_[PADR_(l_ulong)];
  598         char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
  599         char pgoff_l_[PADL_(l_ulong)]; l_ulong pgoff; char pgoff_r_[PADR_(l_ulong)];
  600 };
  601 struct linux_truncate64_args {
  602         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  603         char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
  604 };
  605 struct linux_ftruncate64_args {
  606         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  607         char length_l_[PADL_(l_loff_t)]; l_loff_t length; char length_r_[PADR_(l_loff_t)];
  608 };
  609 struct linux_stat64_args {
  610         char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
  611         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  612         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  613 };
  614 struct linux_lstat64_args {
  615         char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
  616         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  617         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  618 };
  619 struct linux_fstat64_args {
  620         char fd_l_[PADL_(l_ulong)]; l_ulong fd; char fd_r_[PADR_(l_ulong)];
  621         char statbuf_l_[PADL_(struct l_stat64 *)]; struct l_stat64 * statbuf; char statbuf_r_[PADR_(struct l_stat64 *)];
  622         char flags_l_[PADL_(l_long)]; l_long flags; char flags_r_[PADR_(l_long)];
  623 };
  624 struct linux_lchown_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_getuid_args {
  630         register_t dummy;
  631 };
  632 struct linux_getgid_args {
  633         register_t dummy;
  634 };
  635 struct linux_getgroups_args {
  636         char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
  637         char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
  638 };
  639 struct linux_setgroups_args {
  640         char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
  641         char grouplist_l_[PADL_(l_gid_t *)]; l_gid_t * grouplist; char grouplist_r_[PADR_(l_gid_t *)];
  642 };
  643 struct linux_chown_args {
  644         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  645         char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
  646         char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
  647 };
  648 struct linux_setfsuid_args {
  649         char uid_l_[PADL_(l_uid_t)]; l_uid_t uid; char uid_r_[PADR_(l_uid_t)];
  650 };
  651 struct linux_setfsgid_args {
  652         char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
  653 };
  654 struct linux_pivot_root_args {
  655         char new_root_l_[PADL_(char *)]; char * new_root; char new_root_r_[PADR_(char *)];
  656         char put_old_l_[PADL_(char *)]; char * put_old; char put_old_r_[PADR_(char *)];
  657 };
  658 struct linux_mincore_args {
  659         char start_l_[PADL_(l_ulong)]; l_ulong start; char start_r_[PADR_(l_ulong)];
  660         char len_l_[PADL_(l_size_t)]; l_size_t len; char len_r_[PADR_(l_size_t)];
  661         char vec_l_[PADL_(u_char *)]; u_char * vec; char vec_r_[PADR_(u_char *)];
  662 };
  663 struct linux_getdents64_args {
  664         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  665         char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
  666         char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
  667 };
  668 struct linux_fcntl64_args {
  669         char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
  670         char cmd_l_[PADL_(l_uint)]; l_uint cmd; char cmd_r_[PADR_(l_uint)];
  671         char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
  672 };
  673 struct linux_setxattr_args {
  674         register_t dummy;
  675 };
  676 struct linux_lsetxattr_args {
  677         register_t dummy;
  678 };
  679 struct linux_fsetxattr_args {
  680         register_t dummy;
  681 };
  682 struct linux_getxattr_args {
  683         register_t dummy;
  684 };
  685 struct linux_lgetxattr_args {
  686         register_t dummy;
  687 };
  688 struct linux_fgetxattr_args {
  689         register_t dummy;
  690 };
  691 struct linux_listxattr_args {
  692         register_t dummy;
  693 };
  694 struct linux_llistxattr_args {
  695         register_t dummy;
  696 };
  697 struct linux_flistxattr_args {
  698         register_t dummy;
  699 };
  700 struct linux_removexattr_args {
  701         register_t dummy;
  702 };
  703 struct linux_lremovexattr_args {
  704         register_t dummy;
  705 };
  706 struct linux_fremovexattr_args {
  707         register_t dummy;
  708 };
  709 struct linux_fadvise64_args {
  710         register_t dummy;
  711 };
  712 struct linux_clock_settime_args {
  713         char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
  714         char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
  715 };
  716 struct linux_clock_gettime_args {
  717         char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
  718         char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
  719 };
  720 struct linux_clock_getres_args {
  721         char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
  722         char tp_l_[PADL_(struct l_timespec *)]; struct l_timespec * tp; char tp_r_[PADR_(struct l_timespec *)];
  723 };
  724 struct linux_clock_nanosleep_args {
  725         char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
  726         char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
  727         char rqtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rqtp; char rqtp_r_[PADR_(struct l_timespec *)];
  728         char rmtp_l_[PADL_(struct l_timespec *)]; struct l_timespec * rmtp; char rmtp_r_[PADR_(struct l_timespec *)];
  729 };
  730 struct linux_statfs64_args {
  731         char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
  732         char bufsize_l_[PADL_(size_t)]; size_t bufsize; char bufsize_r_[PADR_(size_t)];
  733         char buf_l_[PADL_(struct l_statfs64_buf *)]; struct l_statfs64_buf * buf; char buf_r_[PADR_(struct l_statfs64_buf *)];
  734 };
  735 struct linux_fstatfs64_args {
  736         register_t dummy;
  737 };
  738 struct linux_tgkill_args {
  739         char tgid_l_[PADL_(int)]; int tgid; char tgid_r_[PADR_(int)];
  740         char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
  741         char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
  742 };
  743 struct linux_utimes_args {
  744         char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
  745         char tptr_l_[PADL_(struct l_timeval *)]; struct l_timeval * tptr; char tptr_r_[PADR_(struct l_timeval *)];
  746 };
  747 struct linux_fadvise64_64_args {
  748         register_t dummy;
  749 };
  750 struct linux_mbind_args {
  751         register_t dummy;
  752 };
  753 struct linux_get_mempolicy_args {
  754         register_t dummy;
  755 };
  756 struct linux_set_mempolicy_args {
  757         register_t dummy;
  758 };
  759 struct linux_mq_open_args {
  760         register_t dummy;
  761 };
  762 struct linux_mq_unlink_args {
  763         register_t dummy;
  764 };
  765 struct linux_mq_timedsend_args {
  766         register_t dummy;
  767 };
  768 struct linux_mq_timedreceive_args {
  769         register_t dummy;
  770 };
  771 struct linux_mq_notify_args {
  772         register_t dummy;
  773 };
  774 struct linux_mq_getsetattr_args {
  775         register_t dummy;
  776 };
  777 struct linux_kexec_load_args {
  778         register_t dummy;
  779 };
  780 struct linux_waitid_args {
  781         register_t dummy;
  782 };
  783 struct linux_add_key_args {
  784         register_t dummy;
  785 };
  786 struct linux_request_key_args {
  787         register_t dummy;
  788 };
  789 struct linux_keyctl_args {
  790         register_t dummy;
  791 };
  792 struct linux_ioprio_set_args {
  793         register_t dummy;
  794 };
  795 struct linux_ioprio_get_args {
  796         register_t dummy;
  797 };
  798 struct linux_inotify_init_args {
  799         register_t dummy;
  800 };
  801 struct linux_inotify_add_watch_args {
  802         register_t dummy;
  803 };
  804 struct linux_inotify_rm_watch_args {
  805         register_t dummy;
  806 };
  807 struct linux_migrate_pages_args {
  808         register_t dummy;
  809 };
  810 struct linux_openat_args {
  811         char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
  812         char filename_l_[PADL_(char *)]; char * filename; char filename_r_[PADR_(char *)];
  813         char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
  814         char mode_l_[PADL_(l_int)]; l_int mode; char mode_r_[PADR_(l_int)];
  815 };
  816 struct linux_mkdirat_args {
  817         register_t dummy;
  818 };
  819 struct linux_mknodat_args {
  820         register_t dummy;
  821 };
  822 struct linux_fchownat_args {
  823         register_t dummy;
  824 };
  825 struct linux_futimesat_args {
  826         register_t dummy;
  827 };
  828 struct linux_fstatat64_args {
  829         register_t dummy;
  830 };
  831 struct linux_unlinkat_args {
  832         register_t dummy;
  833 };
  834 struct linux_renameat_args {
  835         register_t dummy;
  836 };
  837 struct linux_linkat_args {
  838         register_t dummy;
  839 };
  840 struct linux_symlinkat_args {
  841         register_t dummy;
  842 };
  843 struct linux_readlinkat_args {
  844         register_t dummy;
  845 };
  846 struct linux_fchmodat_args {
  847         register_t dummy;
  848 };
  849 struct linux_faccessat_args {
  850         register_t dummy;
  851 };
  852 struct linux_pselect6_args {
  853         register_t dummy;
  854 };
  855 struct linux_ppoll_args {
  856         register_t dummy;
  857 };
  858 struct linux_unshare_args {
  859         register_t dummy;
  860 };
  861 #define nosys   linux_nosys
  862 int     linux_fork(struct thread *, struct linux_fork_args *);
  863 int     linux_open(struct thread *, struct linux_open_args *);
  864 int     linux_waitpid(struct thread *, struct linux_waitpid_args *);
  865 int     linux_creat(struct thread *, struct linux_creat_args *);
  866 int     linux_link(struct thread *, struct linux_link_args *);
  867 int     linux_unlink(struct thread *, struct linux_unlink_args *);
  868 int     linux_execve(struct thread *, struct linux_execve_args *);
  869 int     linux_chdir(struct thread *, struct linux_chdir_args *);
  870 int     linux_time(struct thread *, struct linux_time_args *);
  871 int     linux_mknod(struct thread *, struct linux_mknod_args *);
  872 int     linux_chmod(struct thread *, struct linux_chmod_args *);
  873 int     linux_lchown16(struct thread *, struct linux_lchown16_args *);
  874 int     linux_stat(struct thread *, struct linux_stat_args *);
  875 int     linux_lseek(struct thread *, struct linux_lseek_args *);
  876 int     linux_getpid(struct thread *, struct linux_getpid_args *);
  877 int     linux_mount(struct thread *, struct linux_mount_args *);
  878 int     linux_oldumount(struct thread *, struct linux_oldumount_args *);
  879 int     linux_setuid16(struct thread *, struct linux_setuid16_args *);
  880 int     linux_getuid16(struct thread *, struct linux_getuid16_args *);
  881 int     linux_stime(struct thread *, struct linux_stime_args *);
  882 int     linux_ptrace(struct thread *, struct linux_ptrace_args *);
  883 int     linux_alarm(struct thread *, struct linux_alarm_args *);
  884 int     linux_pause(struct thread *, struct linux_pause_args *);
  885 int     linux_utime(struct thread *, struct linux_utime_args *);
  886 int     linux_access(struct thread *, struct linux_access_args *);
  887 int     linux_nice(struct thread *, struct linux_nice_args *);
  888 int     linux_kill(struct thread *, struct linux_kill_args *);
  889 int     linux_rename(struct thread *, struct linux_rename_args *);
  890 int     linux_mkdir(struct thread *, struct linux_mkdir_args *);
  891 int     linux_rmdir(struct thread *, struct linux_rmdir_args *);
  892 int     linux_pipe(struct thread *, struct linux_pipe_args *);
  893 int     linux_times(struct thread *, struct linux_times_args *);
  894 int     linux_brk(struct thread *, struct linux_brk_args *);
  895 int     linux_setgid16(struct thread *, struct linux_setgid16_args *);
  896 int     linux_getgid16(struct thread *, struct linux_getgid16_args *);
  897 int     linux_signal(struct thread *, struct linux_signal_args *);
  898 int     linux_geteuid16(struct thread *, struct linux_geteuid16_args *);
  899 int     linux_getegid16(struct thread *, struct linux_getegid16_args *);
  900 int     linux_umount(struct thread *, struct linux_umount_args *);
  901 int     linux_ioctl(struct thread *, struct linux_ioctl_args *);
  902 int     linux_fcntl(struct thread *, struct linux_fcntl_args *);
  903 int     linux_olduname(struct thread *, struct linux_olduname_args *);
  904 int     linux_ustat(struct thread *, struct linux_ustat_args *);
  905 int     linux_sigaction(struct thread *, struct linux_sigaction_args *);
  906 int     linux_sgetmask(struct thread *, struct linux_sgetmask_args *);
  907 int     linux_ssetmask(struct thread *, struct linux_ssetmask_args *);
  908 int     linux_setreuid16(struct thread *, struct linux_setreuid16_args *);
  909 int     linux_setregid16(struct thread *, struct linux_setregid16_args *);
  910 int     linux_sigsuspend(struct thread *, struct linux_sigsuspend_args *);
  911 int     linux_sigpending(struct thread *, struct linux_sigpending_args *);
  912 int     linux_sethostname(struct thread *, struct linux_sethostname_args *);
  913 int     linux_setrlimit(struct thread *, struct linux_setrlimit_args *);
  914 int     linux_old_getrlimit(struct thread *, struct linux_old_getrlimit_args *);
  915 int     linux_getrusage(struct thread *, struct linux_getrusage_args *);
  916 int     linux_gettimeofday(struct thread *, struct linux_gettimeofday_args *);
  917 int     linux_settimeofday(struct thread *, struct linux_settimeofday_args *);
  918 int     linux_getgroups16(struct thread *, struct linux_getgroups16_args *);
  919 int     linux_setgroups16(struct thread *, struct linux_setgroups16_args *);
  920 int     linux_old_select(struct thread *, struct linux_old_select_args *);
  921 int     linux_symlink(struct thread *, struct linux_symlink_args *);
  922 int     linux_lstat(struct thread *, struct linux_lstat_args *);
  923 int     linux_readlink(struct thread *, struct linux_readlink_args *);
  924 int     linux_reboot(struct thread *, struct linux_reboot_args *);
  925 int     linux_readdir(struct thread *, struct linux_readdir_args *);
  926 int     linux_mmap(struct thread *, struct linux_mmap_args *);
  927 int     linux_truncate(struct thread *, struct linux_truncate_args *);
  928 int     linux_ftruncate(struct thread *, struct linux_ftruncate_args *);
  929 int     linux_getpriority(struct thread *, struct linux_getpriority_args *);
  930 int     linux_statfs(struct thread *, struct linux_statfs_args *);
  931 int     linux_fstatfs(struct thread *, struct linux_fstatfs_args *);
  932 int     linux_socketcall(struct thread *, struct linux_socketcall_args *);
  933 int     linux_syslog(struct thread *, struct linux_syslog_args *);
  934 int     linux_setitimer(struct thread *, struct linux_setitimer_args *);
  935 int     linux_getitimer(struct thread *, struct linux_getitimer_args *);
  936 int     linux_newstat(struct thread *, struct linux_newstat_args *);
  937 int     linux_newlstat(struct thread *, struct linux_newlstat_args *);
  938 int     linux_newfstat(struct thread *, struct linux_newfstat_args *);
  939 int     linux_uname(struct thread *, struct linux_uname_args *);
  940 int     linux_iopl(struct thread *, struct linux_iopl_args *);
  941 int     linux_vhangup(struct thread *, struct linux_vhangup_args *);
  942 int     linux_wait4(struct thread *, struct linux_wait4_args *);
  943 int     linux_swapoff(struct thread *, struct linux_swapoff_args *);
  944 int     linux_sysinfo(struct thread *, struct linux_sysinfo_args *);
  945 int     linux_ipc(struct thread *, struct linux_ipc_args *);
  946 int     linux_sigreturn(struct thread *, struct linux_sigreturn_args *);
  947 int     linux_clone(struct thread *, struct linux_clone_args *);
  948 int     linux_newuname(struct thread *, struct linux_newuname_args *);
  949 int     linux_adjtimex(struct thread *, struct linux_adjtimex_args *);
  950 int     linux_mprotect(struct thread *, struct linux_mprotect_args *);
  951 int     linux_sigprocmask(struct thread *, struct linux_sigprocmask_args *);
  952 int     linux_create_module(struct thread *, struct linux_create_module_args *);
  953 int     linux_init_module(struct thread *, struct linux_init_module_args *);
  954 int     linux_delete_module(struct thread *, struct linux_delete_module_args *);
  955 int     linux_get_kernel_syms(struct thread *, struct linux_get_kernel_syms_args *);
  956 int     linux_quotactl(struct thread *, struct linux_quotactl_args *);
  957 int     linux_bdflush(struct thread *, struct linux_bdflush_args *);
  958 int     linux_sysfs(struct thread *, struct linux_sysfs_args *);
  959 int     linux_personality(struct thread *, struct linux_personality_args *);
  960 int     linux_setfsuid16(struct thread *, struct linux_setfsuid16_args *);
  961 int     linux_setfsgid16(struct thread *, struct linux_setfsgid16_args *);
  962 int     linux_llseek(struct thread *, struct linux_llseek_args *);
  963 int     linux_getdents(struct thread *, struct linux_getdents_args *);
  964 int     linux_select(struct thread *, struct linux_select_args *);
  965 int     linux_msync(struct thread *, struct linux_msync_args *);
  966 int     linux_readv(struct thread *, struct linux_readv_args *);
  967 int     linux_writev(struct thread *, struct linux_writev_args *);
  968 int     linux_getsid(struct thread *, struct linux_getsid_args *);
  969 int     linux_fdatasync(struct thread *, struct linux_fdatasync_args *);
  970 int     linux_sysctl(struct thread *, struct linux_sysctl_args *);
  971 int     linux_sched_setscheduler(struct thread *, struct linux_sched_setscheduler_args *);
  972 int     linux_sched_getscheduler(struct thread *, struct linux_sched_getscheduler_args *);
  973 int     linux_sched_get_priority_max(struct thread *, struct linux_sched_get_priority_max_args *);
  974 int     linux_sched_get_priority_min(struct thread *, struct linux_sched_get_priority_min_args *);
  975 int     linux_sched_rr_get_interval(struct thread *, struct linux_sched_rr_get_interval_args *);
  976 int     linux_nanosleep(struct thread *, struct linux_nanosleep_args *);
  977 int     linux_mremap(struct thread *, struct linux_mremap_args *);
  978 int     linux_setresuid16(struct thread *, struct linux_setresuid16_args *);
  979 int     linux_getresuid16(struct thread *, struct linux_getresuid16_args *);
  980 int     linux_query_module(struct thread *, struct linux_query_module_args *);
  981 int     linux_nfsservctl(struct thread *, struct linux_nfsservctl_args *);
  982 int     linux_setresgid16(struct thread *, struct linux_setresgid16_args *);
  983 int     linux_getresgid16(struct thread *, struct linux_getresgid16_args *);
  984 int     linux_prctl(struct thread *, struct linux_prctl_args *);
  985 int     linux_rt_sigreturn(struct thread *, struct linux_rt_sigreturn_args *);
  986 int     linux_rt_sigaction(struct thread *, struct linux_rt_sigaction_args *);
  987 int     linux_rt_sigprocmask(struct thread *, struct linux_rt_sigprocmask_args *);
  988 int     linux_rt_sigpending(struct thread *, struct linux_rt_sigpending_args *);
  989 int     linux_rt_sigtimedwait(struct thread *, struct linux_rt_sigtimedwait_args *);
  990 int     linux_rt_sigqueueinfo(struct thread *, struct linux_rt_sigqueueinfo_args *);
  991 int     linux_rt_sigsuspend(struct thread *, struct linux_rt_sigsuspend_args *);
  992 int     linux_pread(struct thread *, struct linux_pread_args *);
  993 int     linux_pwrite(struct thread *, struct linux_pwrite_args *);
  994 int     linux_chown16(struct thread *, struct linux_chown16_args *);
  995 int     linux_getcwd(struct thread *, struct linux_getcwd_args *);
  996 int     linux_capget(struct thread *, struct linux_capget_args *);
  997 int     linux_capset(struct thread *, struct linux_capset_args *);
  998 int     linux_sigaltstack(struct thread *, struct linux_sigaltstack_args *);
  999 int     linux_sendfile(struct thread *, struct linux_sendfile_args *);
 1000 int     linux_vfork(struct thread *, struct linux_vfork_args *);
 1001 int     linux_getrlimit(struct thread *, struct linux_getrlimit_args *);
 1002 int     linux_mmap2(struct thread *, struct linux_mmap2_args *);
 1003 int     linux_truncate64(struct thread *, struct linux_truncate64_args *);
 1004 int     linux_ftruncate64(struct thread *, struct linux_ftruncate64_args *);
 1005 int     linux_stat64(struct thread *, struct linux_stat64_args *);
 1006 int     linux_lstat64(struct thread *, struct linux_lstat64_args *);
 1007 int     linux_fstat64(struct thread *, struct linux_fstat64_args *);
 1008 int     linux_lchown(struct thread *, struct linux_lchown_args *);
 1009 int     linux_getuid(struct thread *, struct linux_getuid_args *);
 1010 int     linux_getgid(struct thread *, struct linux_getgid_args *);
 1011 int     linux_getgroups(struct thread *, struct linux_getgroups_args *);
 1012 int     linux_setgroups(struct thread *, struct linux_setgroups_args *);
 1013 int     linux_chown(struct thread *, struct linux_chown_args *);
 1014 int     linux_setfsuid(struct thread *, struct linux_setfsuid_args *);
 1015 int     linux_setfsgid(struct thread *, struct linux_setfsgid_args *);
 1016 int     linux_pivot_root(struct thread *, struct linux_pivot_root_args *);
 1017 int     linux_mincore(struct thread *, struct linux_mincore_args *);
 1018 int     linux_getdents64(struct thread *, struct linux_getdents64_args *);
 1019 int     linux_fcntl64(struct thread *, struct linux_fcntl64_args *);
 1020 int     linux_setxattr(struct thread *, struct linux_setxattr_args *);
 1021 int     linux_lsetxattr(struct thread *, struct linux_lsetxattr_args *);
 1022 int     linux_fsetxattr(struct thread *, struct linux_fsetxattr_args *);
 1023 int     linux_getxattr(struct thread *, struct linux_getxattr_args *);
 1024 int     linux_lgetxattr(struct thread *, struct linux_lgetxattr_args *);
 1025 int     linux_fgetxattr(struct thread *, struct linux_fgetxattr_args *);
 1026 int     linux_listxattr(struct thread *, struct linux_listxattr_args *);
 1027 int     linux_llistxattr(struct thread *, struct linux_llistxattr_args *);
 1028 int     linux_flistxattr(struct thread *, struct linux_flistxattr_args *);
 1029 int     linux_removexattr(struct thread *, struct linux_removexattr_args *);
 1030 int     linux_lremovexattr(struct thread *, struct linux_lremovexattr_args *);
 1031 int     linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *);
 1032 int     linux_fadvise64(struct thread *, struct linux_fadvise64_args *);
 1033 int     linux_clock_settime(struct thread *, struct linux_clock_settime_args *);
 1034 int     linux_clock_gettime(struct thread *, struct linux_clock_gettime_args *);
 1035 int     linux_clock_getres(struct thread *, struct linux_clock_getres_args *);
 1036 int     linux_clock_nanosleep(struct thread *, struct linux_clock_nanosleep_args *);
 1037 int     linux_statfs64(struct thread *, struct linux_statfs64_args *);
 1038 int     linux_fstatfs64(struct thread *, struct linux_fstatfs64_args *);
 1039 int     linux_tgkill(struct thread *, struct linux_tgkill_args *);
 1040 int     linux_utimes(struct thread *, struct linux_utimes_args *);
 1041 int     linux_fadvise64_64(struct thread *, struct linux_fadvise64_64_args *);
 1042 int     linux_mbind(struct thread *, struct linux_mbind_args *);
 1043 int     linux_get_mempolicy(struct thread *, struct linux_get_mempolicy_args *);
 1044 int     linux_set_mempolicy(struct thread *, struct linux_set_mempolicy_args *);
 1045 int     linux_mq_open(struct thread *, struct linux_mq_open_args *);
 1046 int     linux_mq_unlink(struct thread *, struct linux_mq_unlink_args *);
 1047 int     linux_mq_timedsend(struct thread *, struct linux_mq_timedsend_args *);
 1048 int     linux_mq_timedreceive(struct thread *, struct linux_mq_timedreceive_args *);
 1049 int     linux_mq_notify(struct thread *, struct linux_mq_notify_args *);
 1050 int     linux_mq_getsetattr(struct thread *, struct linux_mq_getsetattr_args *);
 1051 int     linux_kexec_load(struct thread *, struct linux_kexec_load_args *);
 1052 int     linux_waitid(struct thread *, struct linux_waitid_args *);
 1053 int     linux_add_key(struct thread *, struct linux_add_key_args *);
 1054 int     linux_request_key(struct thread *, struct linux_request_key_args *);
 1055 int     linux_keyctl(struct thread *, struct linux_keyctl_args *);
 1056 int     linux_ioprio_set(struct thread *, struct linux_ioprio_set_args *);
 1057 int     linux_ioprio_get(struct thread *, struct linux_ioprio_get_args *);
 1058 int     linux_inotify_init(struct thread *, struct linux_inotify_init_args *);
 1059 int     linux_inotify_add_watch(struct thread *, struct linux_inotify_add_watch_args *);
 1060 int     linux_inotify_rm_watch(struct thread *, struct linux_inotify_rm_watch_args *);
 1061 int     linux_migrate_pages(struct thread *, struct linux_migrate_pages_args *);
 1062 int     linux_openat(struct thread *, struct linux_openat_args *);
 1063 int     linux_mkdirat(struct thread *, struct linux_mkdirat_args *);
 1064 int     linux_mknodat(struct thread *, struct linux_mknodat_args *);
 1065 int     linux_fchownat(struct thread *, struct linux_fchownat_args *);
 1066 int     linux_futimesat(struct thread *, struct linux_futimesat_args *);
 1067 int     linux_fstatat64(struct thread *, struct linux_fstatat64_args *);
 1068 int     linux_unlinkat(struct thread *, struct linux_unlinkat_args *);
 1069 int     linux_renameat(struct thread *, struct linux_renameat_args *);
 1070 int     linux_linkat(struct thread *, struct linux_linkat_args *);
 1071 int     linux_symlinkat(struct thread *, struct linux_symlinkat_args *);
 1072 int     linux_readlinkat(struct thread *, struct linux_readlinkat_args *);
 1073 int     linux_fchmodat(struct thread *, struct linux_fchmodat_args *);
 1074 int     linux_faccessat(struct thread *, struct linux_faccessat_args *);
 1075 int     linux_pselect6(struct thread *, struct linux_pselect6_args *);
 1076 int     linux_ppoll(struct thread *, struct linux_ppoll_args *);
 1077 int     linux_unshare(struct thread *, struct linux_unshare_args *);
 1078 
 1079 #ifdef COMPAT_43
 1080 
 1081 #define nosys   linux_nosys
 1082 
 1083 #endif /* COMPAT_43 */
 1084 
 1085 
 1086 #ifdef COMPAT_FREEBSD4
 1087 
 1088 #define nosys   linux_nosys
 1089 
 1090 #endif /* COMPAT_FREEBSD4 */
 1091 
 1092 #undef PAD_
 1093 #undef PADL_
 1094 #undef PADR_
 1095 
 1096 #endif /* !_LINUX_SYSPROTO_H_ */

Cache object: ef58fd1e35385739b365ead1de1a45ba


[ 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.