1995-03-01 02:24:35 +03:00
|
|
|
/*
|
|
|
|
* System call argument lists.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1995-04-08 02:24:11 +04:00
|
|
|
* created from NetBSD: syscalls.master,v 1.4 1995/04/07 22:23:28 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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct linux_select_args {
|
|
|
|
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-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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
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-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-03-01 02:24:35 +03:00
|
|
|
#undef syscallarg
|