aff3918a2c
Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
343 lines
11 KiB
C
343 lines
11 KiB
C
/*
|
|
* System call prototypes.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* $FreeBSD$
|
|
* created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.12 2000/07/29 10:05:25 peter Exp
|
|
*/
|
|
|
|
#ifndef _IBCS2_SYSPROTO_H_
|
|
#define _IBCS2_SYSPROTO_H_
|
|
|
|
#include <sys/signal.h>
|
|
|
|
#include <sys/acl.h>
|
|
|
|
struct proc;
|
|
|
|
struct thread;
|
|
|
|
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
|
|
0 : sizeof(register_t) - sizeof(t))
|
|
|
|
struct ibcs2_read_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
char * buf; char buf_[PAD_(char *)];
|
|
u_int nbytes; char nbytes_[PAD_(u_int)];
|
|
};
|
|
struct ibcs2_open_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int flags; char flags_[PAD_(int)];
|
|
int mode; char mode_[PAD_(int)];
|
|
};
|
|
struct ibcs2_wait_args {
|
|
int a1; char a1_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
};
|
|
struct ibcs2_creat_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int mode; char mode_[PAD_(int)];
|
|
};
|
|
struct ibcs2_unlink_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_execv_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
char ** argp; char argp_[PAD_(char **)];
|
|
};
|
|
struct ibcs2_chdir_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_time_args {
|
|
ibcs2_time_t * tp; char tp_[PAD_(ibcs2_time_t *)];
|
|
};
|
|
struct ibcs2_mknod_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int mode; char mode_[PAD_(int)];
|
|
int dev; char dev_[PAD_(int)];
|
|
};
|
|
struct ibcs2_chmod_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int mode; char mode_[PAD_(int)];
|
|
};
|
|
struct ibcs2_chown_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int uid; char uid_[PAD_(int)];
|
|
int gid; char gid_[PAD_(int)];
|
|
};
|
|
struct ibcs2_stat_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)];
|
|
};
|
|
struct ibcs2_lseek_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
long offset; char offset_[PAD_(long)];
|
|
int whence; char whence_[PAD_(int)];
|
|
};
|
|
struct ibcs2_mount_args {
|
|
char * special; char special_[PAD_(char *)];
|
|
char * dir; char dir_[PAD_(char *)];
|
|
int flags; char flags_[PAD_(int)];
|
|
int fstype; char fstype_[PAD_(int)];
|
|
char * data; char data_[PAD_(char *)];
|
|
int len; char len_[PAD_(int)];
|
|
};
|
|
struct ibcs2_umount_args {
|
|
char * name; char name_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_setuid_args {
|
|
int uid; char uid_[PAD_(int)];
|
|
};
|
|
struct ibcs2_stime_args {
|
|
long * timep; char timep_[PAD_(long *)];
|
|
};
|
|
struct ibcs2_alarm_args {
|
|
unsigned sec; char sec_[PAD_(unsigned)];
|
|
};
|
|
struct ibcs2_fstat_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)];
|
|
};
|
|
struct ibcs2_pause_args {
|
|
register_t dummy;
|
|
};
|
|
struct ibcs2_utime_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
struct ibcs2_utimbuf * buf; char buf_[PAD_(struct ibcs2_utimbuf *)];
|
|
};
|
|
struct ibcs2_stty_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct sgttyb * buf; char buf_[PAD_(struct sgttyb *)];
|
|
};
|
|
struct ibcs2_gtty_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct sgttyb * buf; char buf_[PAD_(struct sgttyb *)];
|
|
};
|
|
struct ibcs2_access_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int flags; char flags_[PAD_(int)];
|
|
};
|
|
struct ibcs2_nice_args {
|
|
int incr; char incr_[PAD_(int)];
|
|
};
|
|
struct ibcs2_statfs_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
struct ibcs2_statfs * buf; char buf_[PAD_(struct ibcs2_statfs *)];
|
|
int len; char len_[PAD_(int)];
|
|
int fstype; char fstype_[PAD_(int)];
|
|
};
|
|
struct ibcs2_kill_args {
|
|
int pid; char pid_[PAD_(int)];
|
|
int signo; char signo_[PAD_(int)];
|
|
};
|
|
struct ibcs2_fstatfs_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct ibcs2_statfs * buf; char buf_[PAD_(struct ibcs2_statfs *)];
|
|
int len; char len_[PAD_(int)];
|
|
int fstype; char fstype_[PAD_(int)];
|
|
};
|
|
struct ibcs2_pgrpsys_args {
|
|
int type; char type_[PAD_(int)];
|
|
caddr_t dummy; char dummy_[PAD_(caddr_t)];
|
|
int pid; char pid_[PAD_(int)];
|
|
int pgid; char pgid_[PAD_(int)];
|
|
};
|
|
struct ibcs2_xenix_args {
|
|
int a1; char a1_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
int a4; char a4_[PAD_(int)];
|
|
int a5; char a5_[PAD_(int)];
|
|
};
|
|
struct ibcs2_times_args {
|
|
struct tms * tp; char tp_[PAD_(struct tms *)];
|
|
};
|
|
struct ibcs2_plock_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
};
|
|
struct ibcs2_setgid_args {
|
|
int gid; char gid_[PAD_(int)];
|
|
};
|
|
struct ibcs2_sigsys_args {
|
|
int sig; char sig_[PAD_(int)];
|
|
ibcs2_sig_t fp; char fp_[PAD_(ibcs2_sig_t)];
|
|
};
|
|
struct ibcs2_msgsys_args {
|
|
int which; char which_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
int a4; char a4_[PAD_(int)];
|
|
int a5; char a5_[PAD_(int)];
|
|
int a6; char a6_[PAD_(int)];
|
|
};
|
|
struct ibcs2_sysi86_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
int * arg; char arg_[PAD_(int *)];
|
|
};
|
|
struct ibcs2_shmsys_args {
|
|
int which; char which_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
int a4; char a4_[PAD_(int)];
|
|
};
|
|
struct ibcs2_semsys_args {
|
|
int which; char which_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
int a4; char a4_[PAD_(int)];
|
|
int a5; char a5_[PAD_(int)];
|
|
};
|
|
struct ibcs2_ioctl_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
int cmd; char cmd_[PAD_(int)];
|
|
caddr_t data; char data_[PAD_(caddr_t)];
|
|
};
|
|
struct ibcs2_uadmin_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
int func; char func_[PAD_(int)];
|
|
caddr_t data; char data_[PAD_(caddr_t)];
|
|
};
|
|
struct ibcs2_utssys_args {
|
|
int a1; char a1_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int flag; char flag_[PAD_(int)];
|
|
};
|
|
struct ibcs2_execve_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
char ** argp; char argp_[PAD_(char **)];
|
|
char ** envp; char envp_[PAD_(char **)];
|
|
};
|
|
struct ibcs2_fcntl_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
int cmd; char cmd_[PAD_(int)];
|
|
char * arg; char arg_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_ulimit_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
int newlimit; char newlimit_[PAD_(int)];
|
|
};
|
|
struct ibcs2_rmdir_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_mkdir_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
int mode; char mode_[PAD_(int)];
|
|
};
|
|
struct ibcs2_getdents_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
char * buf; char buf_[PAD_(char *)];
|
|
int nbytes; char nbytes_[PAD_(int)];
|
|
};
|
|
struct ibcs2_sysfs_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
caddr_t d1; char d1_[PAD_(caddr_t)];
|
|
char * buf; char buf_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_getmsg_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct ibcs2_stropts * ctl; char ctl_[PAD_(struct ibcs2_stropts *)];
|
|
struct ibcs2_stropts * dat; char dat_[PAD_(struct ibcs2_stropts *)];
|
|
int * flags; char flags_[PAD_(int *)];
|
|
};
|
|
struct ibcs2_putmsg_args {
|
|
int fd; char fd_[PAD_(int)];
|
|
struct ibcs2_stropts * ctl; char ctl_[PAD_(struct ibcs2_stropts *)];
|
|
struct ibcs2_stropts * dat; char dat_[PAD_(struct ibcs2_stropts *)];
|
|
int flags; char flags_[PAD_(int)];
|
|
};
|
|
struct ibcs2_poll_args {
|
|
struct ibcs2_poll * fds; char fds_[PAD_(struct ibcs2_poll *)];
|
|
long nfds; char nfds_[PAD_(long)];
|
|
int timeout; char timeout_[PAD_(int)];
|
|
};
|
|
struct ibcs2_secure_args {
|
|
int cmd; char cmd_[PAD_(int)];
|
|
int a1; char a1_[PAD_(int)];
|
|
int a2; char a2_[PAD_(int)];
|
|
int a3; char a3_[PAD_(int)];
|
|
int a4; char a4_[PAD_(int)];
|
|
int a5; char a5_[PAD_(int)];
|
|
};
|
|
struct ibcs2_symlink_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
char * link; char link_[PAD_(char *)];
|
|
};
|
|
struct ibcs2_lstat_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
struct ibcs2_stat * st; char st_[PAD_(struct ibcs2_stat *)];
|
|
};
|
|
struct ibcs2_readlink_args {
|
|
char * path; char path_[PAD_(char *)];
|
|
char * buf; char buf_[PAD_(char *)];
|
|
int count; char count_[PAD_(int)];
|
|
};
|
|
struct ibcs2_isc_args {
|
|
register_t dummy;
|
|
};
|
|
int ibcs2_read __P((struct thread *, struct ibcs2_read_args *));
|
|
int ibcs2_open __P((struct thread *, struct ibcs2_open_args *));
|
|
int ibcs2_wait __P((struct thread *, struct ibcs2_wait_args *));
|
|
int ibcs2_creat __P((struct thread *, struct ibcs2_creat_args *));
|
|
int ibcs2_unlink __P((struct thread *, struct ibcs2_unlink_args *));
|
|
int ibcs2_execv __P((struct thread *, struct ibcs2_execv_args *));
|
|
int ibcs2_chdir __P((struct thread *, struct ibcs2_chdir_args *));
|
|
int ibcs2_time __P((struct thread *, struct ibcs2_time_args *));
|
|
int ibcs2_mknod __P((struct thread *, struct ibcs2_mknod_args *));
|
|
int ibcs2_chmod __P((struct thread *, struct ibcs2_chmod_args *));
|
|
int ibcs2_chown __P((struct thread *, struct ibcs2_chown_args *));
|
|
int ibcs2_stat __P((struct thread *, struct ibcs2_stat_args *));
|
|
int ibcs2_lseek __P((struct thread *, struct ibcs2_lseek_args *));
|
|
int ibcs2_mount __P((struct thread *, struct ibcs2_mount_args *));
|
|
int ibcs2_umount __P((struct thread *, struct ibcs2_umount_args *));
|
|
int ibcs2_setuid __P((struct thread *, struct ibcs2_setuid_args *));
|
|
int ibcs2_stime __P((struct thread *, struct ibcs2_stime_args *));
|
|
int ibcs2_alarm __P((struct thread *, struct ibcs2_alarm_args *));
|
|
int ibcs2_fstat __P((struct thread *, struct ibcs2_fstat_args *));
|
|
int ibcs2_pause __P((struct thread *, struct ibcs2_pause_args *));
|
|
int ibcs2_utime __P((struct thread *, struct ibcs2_utime_args *));
|
|
int ibcs2_stty __P((struct thread *, struct ibcs2_stty_args *));
|
|
int ibcs2_gtty __P((struct thread *, struct ibcs2_gtty_args *));
|
|
int ibcs2_access __P((struct thread *, struct ibcs2_access_args *));
|
|
int ibcs2_nice __P((struct thread *, struct ibcs2_nice_args *));
|
|
int ibcs2_statfs __P((struct thread *, struct ibcs2_statfs_args *));
|
|
int ibcs2_kill __P((struct thread *, struct ibcs2_kill_args *));
|
|
int ibcs2_fstatfs __P((struct thread *, struct ibcs2_fstatfs_args *));
|
|
int ibcs2_pgrpsys __P((struct thread *, struct ibcs2_pgrpsys_args *));
|
|
int ibcs2_xenix __P((struct thread *, struct ibcs2_xenix_args *));
|
|
int ibcs2_times __P((struct thread *, struct ibcs2_times_args *));
|
|
int ibcs2_plock __P((struct thread *, struct ibcs2_plock_args *));
|
|
int ibcs2_setgid __P((struct thread *, struct ibcs2_setgid_args *));
|
|
int ibcs2_sigsys __P((struct thread *, struct ibcs2_sigsys_args *));
|
|
int ibcs2_msgsys __P((struct thread *, struct ibcs2_msgsys_args *));
|
|
int ibcs2_sysi86 __P((struct thread *, struct ibcs2_sysi86_args *));
|
|
int ibcs2_shmsys __P((struct thread *, struct ibcs2_shmsys_args *));
|
|
int ibcs2_semsys __P((struct thread *, struct ibcs2_semsys_args *));
|
|
int ibcs2_ioctl __P((struct thread *, struct ibcs2_ioctl_args *));
|
|
int ibcs2_uadmin __P((struct thread *, struct ibcs2_uadmin_args *));
|
|
int ibcs2_utssys __P((struct thread *, struct ibcs2_utssys_args *));
|
|
int ibcs2_execve __P((struct thread *, struct ibcs2_execve_args *));
|
|
int ibcs2_fcntl __P((struct thread *, struct ibcs2_fcntl_args *));
|
|
int ibcs2_ulimit __P((struct thread *, struct ibcs2_ulimit_args *));
|
|
int ibcs2_rmdir __P((struct thread *, struct ibcs2_rmdir_args *));
|
|
int ibcs2_mkdir __P((struct thread *, struct ibcs2_mkdir_args *));
|
|
int ibcs2_getdents __P((struct thread *, struct ibcs2_getdents_args *));
|
|
int ibcs2_sysfs __P((struct thread *, struct ibcs2_sysfs_args *));
|
|
int ibcs2_getmsg __P((struct thread *, struct ibcs2_getmsg_args *));
|
|
int ibcs2_putmsg __P((struct thread *, struct ibcs2_putmsg_args *));
|
|
int ibcs2_poll __P((struct thread *, struct ibcs2_poll_args *));
|
|
int ibcs2_secure __P((struct thread *, struct ibcs2_secure_args *));
|
|
int ibcs2_symlink __P((struct thread *, struct ibcs2_symlink_args *));
|
|
int ibcs2_lstat __P((struct thread *, struct ibcs2_lstat_args *));
|
|
int ibcs2_readlink __P((struct thread *, struct ibcs2_readlink_args *));
|
|
int ibcs2_isc __P((struct thread *, struct ibcs2_isc_args *));
|
|
|
|
#ifdef COMPAT_43
|
|
|
|
|
|
#endif /* COMPAT_43 */
|
|
|
|
#undef PAD_
|
|
|
|
#endif /* !_IBCS2_SYSPROTO_H_ */
|