1995-03-01 02:24:35 +03:00
|
|
|
/*
|
|
|
|
* System call argument lists.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1995-09-08 01:49:52 +04:00
|
|
|
* created from NetBSD: syscalls.master,v 1.12 1995/09/07 21:49:02 fvdl Exp
|
1995-03-01 02:24:35 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define syscallarg(x) union { x datum; register_t pad; }
|
|
|
|
|
|
|
|
struct linux_open_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) flags;
|
|
|
|
syscallarg(int) mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_waitpid_args {
|
|
|
|
syscallarg(int) pid;
|
|
|
|
syscallarg(int *) status;
|
|
|
|
syscallarg(int) options;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_creat_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) mode;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_unlink_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_execve_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(char **) argp;
|
|
|
|
syscallarg(char **) envp;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_chdir_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_time_args {
|
|
|
|
syscallarg(linux_time_t *) t;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_mknod_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) mode;
|
|
|
|
syscallarg(int) dev;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_chmod_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_chown_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) uid;
|
|
|
|
syscallarg(int) gid;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_break_args {
|
|
|
|
syscallarg(char *) nsize;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_alarm_args {
|
|
|
|
syscallarg(unsigned int) secs;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_utime_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(struct linux_utimbuf *) times;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_access_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(int) flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_kill_args {
|
|
|
|
syscallarg(int) pid;
|
|
|
|
syscallarg(int) signum;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_rename_args {
|
|
|
|
syscallarg(char *) from;
|
|
|
|
syscallarg(char *) to;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_mkdir_args {
|
|
|
|
syscallarg(char *) path;
|
1995-07-24 10:39:38 +04:00
|
|
|
syscallarg(int) mode;
|
1995-03-06 02:23:37 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_rmdir_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_pipe_args {
|
|
|
|
syscallarg(int *) pfds;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_times_args {
|
|
|
|
syscallarg(struct times *) tms;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_brk_args {
|
|
|
|
syscallarg(char *) nsize;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_signal_args {
|
|
|
|
syscallarg(int) sig;
|
|
|
|
syscallarg(linux_handler_t) handler;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_ioctl_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(u_long) com;
|
|
|
|
syscallarg(caddr_t) data;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_fcntl_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(int) cmd;
|
|
|
|
syscallarg(void *) arg;
|
|
|
|
};
|
|
|
|
|
1995-08-21 07:42:35 +04:00
|
|
|
struct linux_oldolduname_args {
|
|
|
|
syscallarg(struct linux_oldold_utsname *) up;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_sigaction_args {
|
|
|
|
syscallarg(int) signum;
|
|
|
|
syscallarg(struct linux_sigaction *) nsa;
|
|
|
|
syscallarg(struct linux_sigaction *) osa;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_sigsetmask_args {
|
|
|
|
syscallarg(linux_sigset_t) mask;
|
|
|
|
};
|
|
|
|
|
1995-09-08 01:49:52 +04:00
|
|
|
struct linux_setreuid_args {
|
|
|
|
syscallarg(int) ruid;
|
|
|
|
syscallarg(int) euid;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_setregid_args {
|
|
|
|
syscallarg(int) rgid;
|
|
|
|
syscallarg(int) egid;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_sigsuspend_args {
|
1995-03-11 02:10:35 +03:00
|
|
|
syscallarg(caddr_t) restart;
|
|
|
|
syscallarg(int) oldmask;
|
1995-03-01 02:24:35 +03:00
|
|
|
syscallarg(int) mask;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_sigpending_args {
|
|
|
|
syscallarg(linux_sigset_t *) mask;
|
|
|
|
};
|
|
|
|
|
1995-08-24 00:19:15 +04:00
|
|
|
struct linux_oldselect_args {
|
1995-03-01 02:24:35 +03:00
|
|
|
syscallarg(struct linux_select *) lsp;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_symlink_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(char *) to;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_readlink_args {
|
|
|
|
syscallarg(char *) name;
|
|
|
|
syscallarg(char *) buf;
|
|
|
|
syscallarg(int) count;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_uselib_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_readdir_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(struct linux_dirent *) dent;
|
|
|
|
syscallarg(unsigned int) count;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_mmap_args {
|
|
|
|
syscallarg(struct linux_mmap *) lmp;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_truncate_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(long) length;
|
|
|
|
};
|
|
|
|
|
1995-09-08 01:49:52 +04:00
|
|
|
struct linux_fchown_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(int) uid;
|
|
|
|
syscallarg(int) gid;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_statfs_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(struct linux_statfs *) sp;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_fstatfs_args {
|
1995-03-06 02:23:37 +03:00
|
|
|
syscallarg(int) fd;
|
1995-03-01 02:24:35 +03:00
|
|
|
syscallarg(struct linux_statfs *) sp;
|
|
|
|
};
|
|
|
|
|
1995-08-28 00:53:31 +04:00
|
|
|
struct linux_ioperm_args {
|
|
|
|
syscallarg(unsigned int) lo;
|
|
|
|
syscallarg(unsigned int) hi;
|
|
|
|
syscallarg(int) val;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_socketcall_args {
|
|
|
|
syscallarg(int) what;
|
|
|
|
syscallarg(void *) args;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_stat_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(struct linux_stat *) sp;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_lstat_args {
|
|
|
|
syscallarg(char *) path;
|
|
|
|
syscallarg(struct linux_stat *) sp;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_fstat_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(struct linux_stat *) sp;
|
|
|
|
};
|
|
|
|
|
1995-08-21 07:42:35 +04:00
|
|
|
struct linux_olduname_args {
|
|
|
|
syscallarg(struct linux_old_utsname *) up;
|
|
|
|
};
|
|
|
|
|
1995-08-28 00:53:31 +04:00
|
|
|
struct linux_iopl_args {
|
|
|
|
syscallarg(int) level;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_wait4_args {
|
|
|
|
syscallarg(int) pid;
|
|
|
|
syscallarg(int *) status;
|
|
|
|
syscallarg(int) options;
|
|
|
|
syscallarg(struct rusage *) rusage;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_ipc_args {
|
|
|
|
syscallarg(int) what;
|
|
|
|
syscallarg(int) a1;
|
|
|
|
syscallarg(int) a2;
|
|
|
|
syscallarg(int) a3;
|
|
|
|
syscallarg(caddr_t) ptr;
|
|
|
|
};
|
|
|
|
|
1995-04-08 02:24:11 +04:00
|
|
|
struct linux_sigreturn_args {
|
|
|
|
syscallarg(struct linux_sigcontext *) scp;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_uname_args {
|
|
|
|
syscallarg(struct linux_utsname *) up;
|
|
|
|
};
|
|
|
|
|
1995-05-06 22:16:35 +04:00
|
|
|
struct linux_modify_ldt_args {
|
|
|
|
syscallarg(int) func;
|
|
|
|
syscallarg(void *) ptr;
|
|
|
|
syscallarg(size_t) bytecount;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
struct linux_sigprocmask_args {
|
|
|
|
syscallarg(int) how;
|
|
|
|
syscallarg(linux_sigset_t *) set;
|
|
|
|
syscallarg(linux_sigset_t *) oset;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_getpgid_args {
|
|
|
|
syscallarg(int) pid;
|
|
|
|
};
|
|
|
|
|
1995-06-11 18:57:56 +04:00
|
|
|
struct linux_personality_args {
|
|
|
|
syscallarg(int) per;
|
|
|
|
};
|
|
|
|
|
1995-03-06 02:23:37 +03:00
|
|
|
struct linux_llseek_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(u_int32_t) ohigh;
|
|
|
|
syscallarg(u_int32_t) olow;
|
|
|
|
syscallarg(caddr_t) res;
|
|
|
|
syscallarg(int) whence;
|
|
|
|
};
|
|
|
|
|
1995-08-24 00:19:15 +04:00
|
|
|
struct linux_getdents_args {
|
|
|
|
syscallarg(int) fd;
|
|
|
|
syscallarg(void *) dirent;
|
|
|
|
syscallarg(unsigned) count;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_select_args {
|
|
|
|
syscallarg(int) nfds;
|
|
|
|
syscallarg(fd_set *) readfds;
|
|
|
|
syscallarg(fd_set *) writefds;
|
|
|
|
syscallarg(fd_set *) exceptfds;
|
|
|
|
syscallarg(struct timeval *) timeout;
|
|
|
|
};
|
|
|
|
|
1995-03-01 02:24:35 +03:00
|
|
|
#undef syscallarg
|