Deleted Added
full compact
syscalls.master (160798) syscalls.master (191919)
1 $FreeBSD: head/sys/i386/ibcs2/syscalls.master 160798 2006-07-28 19:05:28Z jhb $
1 $FreeBSD: head/sys/i386/ibcs2/syscalls.master 191919 2009-05-08 20:06:37Z ed $
2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4; System call name/number master file (or rather, slave, from IBCS2).
5; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.
6
7; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
8; number system call number, must be in order
9; audit the audit event associated with the system call
10; A value of AUE_NULL means no auditing, but it also means that
11; there is no audit event for the call at this time. For the
12; case where the event exists, but we don't want auditing, the
13; event should be #defined to AUE_NULL in audit_kevents.h.
14; type one of STD, OBSOL, UNIMPL, COMPAT
15; name psuedo-prototype of syscall routine
16; If one of the following alts is different, then all appear:
17; altname name of system call if different
18; alttag name of args struct tag if different from [o]`name'"_args"
19; altrtyp return type if not int (bogus - syscalls always return int)
20; for UNIMPL/OBSOL, name continues with comments
21
22; types:
23; STD always included
24; COMPAT included on COMPAT #ifdef
25; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
26; OBSOL obsolete, not included in system, only specifies name
27; UNIMPL not implemented, placeholder only
28
29#include <sys/param.h>
30#include <sys/sysent.h>
31#include <sys/sysproto.h>
32#include <i386/ibcs2/ibcs2_types.h>
33#include <i386/ibcs2/ibcs2_signal.h>
34#include <i386/ibcs2/ibcs2_proto.h>
35
36; #ifdef's, etc. may be included, and are copied to the output files.
37
380 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
391 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \
40 sys_exit_args void
412 AUE_FORK NOPROTO { int fork(void); }
423 AUE_NULL STD { int ibcs2_read(int fd, char *buf, \
43 u_int nbytes); }
444 AUE_NULL NOPROTO { int write(int fd, char *buf, \
45 u_int nbytes); }
465 AUE_OPEN_RWTC STD { int ibcs2_open(char *path, int flags, \
47 int mode); }
486 AUE_CLOSE NOPROTO { int close(int fd); }
497 AUE_WAIT4 STD { int ibcs2_wait(int a1, int a2, int a3); }
508 AUE_CREAT STD { int ibcs2_creat(char *path, int mode); }
519 AUE_LINK NOPROTO { int link(char *path, char *link); }
5210 AUE_UNLINK STD { int ibcs2_unlink(char *path); }
5311 AUE_EXECVE STD { int ibcs2_execv(char *path, char **argp); }
5412 AUE_CHDIR STD { int ibcs2_chdir(char *path); }
5513 AUE_NULL STD { int ibcs2_time(ibcs2_time_t *tp); }
5614 AUE_MKNOD STD { int ibcs2_mknod(char* path, int mode, \
57 int dev); }
5815 AUE_CHMOD STD { int ibcs2_chmod(char *path, int mode); }
5916 AUE_CHOWN STD { int ibcs2_chown(char *path, int uid, \
60 int gid); }
6117 AUE_NULL NOPROTO { int obreak(caddr_t nsize); }
6218 AUE_STAT STD { int ibcs2_stat(char* path, \
63 struct ibcs2_stat *st); }
6419 AUE_LSEEK STD { long ibcs2_lseek(int fd, long offset, \
65 int whence); }
6620 AUE_NULL NOPROTO { pid_t getpid(void); }
6721 AUE_MOUNT STD { int ibcs2_mount(char *special, char *dir, \
68 int flags, int fstype, char *data, \
69 int len); }
7022 AUE_UMOUNT STD { int ibcs2_umount(char *name); }
7123 AUE_SETUID STD { int ibcs2_setuid(int uid); }
7224 AUE_GETUID NOPROTO { uid_t getuid(void); }
7325 AUE_SETTIMEOFDAY STD { int ibcs2_stime(long *timep); }
7426 AUE_PTRACE NOPROTO { int ptrace(int req, pid_t pid, \
75 caddr_t addr, int data); }
7627 AUE_NULL STD { int ibcs2_alarm(unsigned sec); }
7728 AUE_FSTAT STD { int ibcs2_fstat(int fd, \
78 struct ibcs2_stat *st); }
7929 AUE_NULL STD { int ibcs2_pause(void); }
8030 AUE_NULL STD { int ibcs2_utime(char *path, \
81 struct ibcs2_utimbuf *buf); }
2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4; System call name/number master file (or rather, slave, from IBCS2).
5; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.
6
7; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
8; number system call number, must be in order
9; audit the audit event associated with the system call
10; A value of AUE_NULL means no auditing, but it also means that
11; there is no audit event for the call at this time. For the
12; case where the event exists, but we don't want auditing, the
13; event should be #defined to AUE_NULL in audit_kevents.h.
14; type one of STD, OBSOL, UNIMPL, COMPAT
15; name psuedo-prototype of syscall routine
16; If one of the following alts is different, then all appear:
17; altname name of system call if different
18; alttag name of args struct tag if different from [o]`name'"_args"
19; altrtyp return type if not int (bogus - syscalls always return int)
20; for UNIMPL/OBSOL, name continues with comments
21
22; types:
23; STD always included
24; COMPAT included on COMPAT #ifdef
25; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
26; OBSOL obsolete, not included in system, only specifies name
27; UNIMPL not implemented, placeholder only
28
29#include <sys/param.h>
30#include <sys/sysent.h>
31#include <sys/sysproto.h>
32#include <i386/ibcs2/ibcs2_types.h>
33#include <i386/ibcs2/ibcs2_signal.h>
34#include <i386/ibcs2/ibcs2_proto.h>
35
36; #ifdef's, etc. may be included, and are copied to the output files.
37
380 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
391 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \
40 sys_exit_args void
412 AUE_FORK NOPROTO { int fork(void); }
423 AUE_NULL STD { int ibcs2_read(int fd, char *buf, \
43 u_int nbytes); }
444 AUE_NULL NOPROTO { int write(int fd, char *buf, \
45 u_int nbytes); }
465 AUE_OPEN_RWTC STD { int ibcs2_open(char *path, int flags, \
47 int mode); }
486 AUE_CLOSE NOPROTO { int close(int fd); }
497 AUE_WAIT4 STD { int ibcs2_wait(int a1, int a2, int a3); }
508 AUE_CREAT STD { int ibcs2_creat(char *path, int mode); }
519 AUE_LINK NOPROTO { int link(char *path, char *link); }
5210 AUE_UNLINK STD { int ibcs2_unlink(char *path); }
5311 AUE_EXECVE STD { int ibcs2_execv(char *path, char **argp); }
5412 AUE_CHDIR STD { int ibcs2_chdir(char *path); }
5513 AUE_NULL STD { int ibcs2_time(ibcs2_time_t *tp); }
5614 AUE_MKNOD STD { int ibcs2_mknod(char* path, int mode, \
57 int dev); }
5815 AUE_CHMOD STD { int ibcs2_chmod(char *path, int mode); }
5916 AUE_CHOWN STD { int ibcs2_chown(char *path, int uid, \
60 int gid); }
6117 AUE_NULL NOPROTO { int obreak(caddr_t nsize); }
6218 AUE_STAT STD { int ibcs2_stat(char* path, \
63 struct ibcs2_stat *st); }
6419 AUE_LSEEK STD { long ibcs2_lseek(int fd, long offset, \
65 int whence); }
6620 AUE_NULL NOPROTO { pid_t getpid(void); }
6721 AUE_MOUNT STD { int ibcs2_mount(char *special, char *dir, \
68 int flags, int fstype, char *data, \
69 int len); }
7022 AUE_UMOUNT STD { int ibcs2_umount(char *name); }
7123 AUE_SETUID STD { int ibcs2_setuid(int uid); }
7224 AUE_GETUID NOPROTO { uid_t getuid(void); }
7325 AUE_SETTIMEOFDAY STD { int ibcs2_stime(long *timep); }
7426 AUE_PTRACE NOPROTO { int ptrace(int req, pid_t pid, \
75 caddr_t addr, int data); }
7627 AUE_NULL STD { int ibcs2_alarm(unsigned sec); }
7728 AUE_FSTAT STD { int ibcs2_fstat(int fd, \
78 struct ibcs2_stat *st); }
7929 AUE_NULL STD { int ibcs2_pause(void); }
8030 AUE_NULL STD { int ibcs2_utime(char *path, \
81 struct ibcs2_utimbuf *buf); }
8231 AUE_NULL STD { int ibcs2_stty(int fd, \
83 struct sgttyb *buf); }
8432 AUE_NULL STD { int ibcs2_gtty(int fd, \
85 struct sgttyb *buf); }
8231 AUE_NULL UNIMPL ibcs2_stty
8332 AUE_NULL UNIMPL ibcs2_gtty
8633 AUE_ACCESS STD { int ibcs2_access(char *path, int flags); }
8734 AUE_NICE STD { int ibcs2_nice(int incr); }
8835 AUE_STATFS STD { int ibcs2_statfs(char *path, \
89 struct ibcs2_statfs *buf, int len, \
90 int fstype); }
9136 AUE_NULL NOPROTO { int sync(void); }
9237 AUE_KILL STD { int ibcs2_kill(int pid, int signo); }
9338 AUE_FSTATFS STD { int ibcs2_fstatfs(int fd, \
94 struct ibcs2_statfs *buf, int len, \
95 int fstype); }
9639 AUE_NULL STD { int ibcs2_pgrpsys(int type, caddr_t dummy, \
97 int pid, int pgid); }
9840 AUE_NULL STD { int ibcs2_xenix(int a1, int a2, int a3, \
99 int a4, int a5); }
10041 AUE_NULL NOPROTO { int dup(u_int fd); }
10142 AUE_PIPE NOPROTO { int pipe(void); }
10243 AUE_NULL STD { int ibcs2_times(struct tms *tp); }
10344 AUE_PROFILE NOPROTO { int profil(caddr_t samples, u_int size, \
104 u_int offset, u_int scale); }
10545 AUE_NULL STD { int ibcs2_plock(int cmd); }
10646 AUE_SETGID STD { int ibcs2_setgid(int gid); }
10747 AUE_GETGID NOPROTO { gid_t getgid(void); }
10848 AUE_NULL STD { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
10949 AUE_MSGSYS STD { int ibcs2_msgsys(int which, int a2, \
110 int a3, int a4, int a5, int a6); }
11150 AUE_NULL STD { int ibcs2_sysi86(int cmd, int *arg); }
11251 AUE_NULL UNIMPL ibcs2_acct
11352 AUE_SHMSYS STD { int ibcs2_shmsys(int which, int a2, \
114 int a3, int a4); }
11553 AUE_SEMSYS STD { int ibcs2_semsys(int which, int a2, \
116 int a3, int a4, int a5); }
11754 AUE_IOCTL STD { int ibcs2_ioctl(int fd, int cmd, \
118 caddr_t data); }
11955 AUE_NULL STD { int ibcs2_uadmin(int cmd, int func, \
120 caddr_t data); }
12156 AUE_NULL UNIMPL nosys
12257 AUE_NULL STD { int ibcs2_utssys(int a1, int a2, \
123 int flag); }
12458 AUE_FSYNC NOPROTO { int fsync(int fd); }
12559 AUE_EXECVE STD { int ibcs2_execve(char *path, char **argp, \
126 char **envp); }
12760 AUE_UMASK NOPROTO { int umask(int newmask); }
12861 AUE_CHROOT NOPROTO { int chroot(char *path); }
12962 AUE_FCNTL STD { int ibcs2_fcntl(int fd, int cmd, \
130 char *arg); }
13163 AUE_NULL STD { long ibcs2_ulimit(int cmd, int newlimit); }
13264 AUE_NULL UNIMPL reserved for unix/pc
13365 AUE_NULL UNIMPL reserved for unix/pc
13466 AUE_NULL UNIMPL reserved for unix/pc
13567 AUE_NULL UNIMPL reserved for unix/pc
13668 AUE_NULL UNIMPL reserved for unix/pc
13769 AUE_NULL UNIMPL reserved for unix/pc
13870 AUE_NULL OBSOL rfs_advfs
13971 AUE_NULL OBSOL rfs_unadvfs
14072 AUE_NULL OBSOL rfs_rmount
14173 AUE_NULL OBSOL rfs_rumount
14274 AUE_NULL OBSOL rfs_rfstart
14375 AUE_NULL OBSOL rfs_sigret
14476 AUE_NULL OBSOL rfs_rdebug
14577 AUE_NULL OBSOL rfs_rfstop
14678 AUE_NULL UNIMPL rfs_rfsys
14779 AUE_RMDIR STD { int ibcs2_rmdir(char *path); }
14880 AUE_MKDIR STD { int ibcs2_mkdir(char *path, int mode); }
14981 AUE_GETDIRENTRIES STD { int ibcs2_getdents(int fd, char *buf, \
150 int nbytes); }
15182 AUE_NULL UNIMPL nosys
15283 AUE_NULL UNIMPL nosys
15384 AUE_NULL STD { int ibcs2_sysfs(int cmd, caddr_t d1, \
154 char *buf); }
15585 AUE_GETMSG STD { int ibcs2_getmsg(int fd, \
156 struct ibcs2_stropts *ctl, \
157 struct ibcs2_stropts *dat, int *flags); }
15886 AUE_PUTMSG STD { int ibcs2_putmsg(int fd, \
159 struct ibcs2_stropts *ctl, \
160 struct ibcs2_stropts *dat, int flags); }
16187 AUE_POLL NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
162 int timeout); }
16388 AUE_NULL UNIMPL nosys
16489 AUE_NULL STD { int ibcs2_secure(int cmd, int a1, int a2, \
165 int a3, int a4, int a5); }
16690 AUE_SYMLINK STD { int ibcs2_symlink(char *path, \
167 char *link); }
16891 AUE_LSTAT STD { int ibcs2_lstat(char *path, \
169 struct ibcs2_stat *st); }
17092 AUE_READLINK STD { int ibcs2_readlink(char *path, char *buf, \
171 int count); }
17293 AUE_NULL UNIMPL nosys
17394 AUE_NULL UNIMPL nosys
17495 AUE_NULL UNIMPL nosys
17596 AUE_NULL UNIMPL nosys
17697 AUE_NULL UNIMPL nosys
17798 AUE_NULL UNIMPL nosys
17899 AUE_NULL UNIMPL nosys
179100 AUE_NULL UNIMPL nosys
180101 AUE_NULL UNIMPL nosys
181102 AUE_NULL UNIMPL nosys
182103 AUE_NULL NOPROTO { int sigreturn( \
183 struct sigcontext *sigcntxp); }
184104 AUE_NULL UNIMPL nosys
185105 AUE_NULL STD { int ibcs2_isc(void); }
186106 AUE_NULL UNIMPL nosys
187107 AUE_NULL UNIMPL nosys
188108 AUE_NULL UNIMPL nosys
189109 AUE_NULL UNIMPL nosys
190110 AUE_NULL UNIMPL nosys
191111 AUE_NULL UNIMPL nosys
192112 AUE_NULL UNIMPL nosys
193113 AUE_NULL UNIMPL nosys
194114 AUE_NULL UNIMPL nosys
195115 AUE_NULL UNIMPL nosys
196116 AUE_NULL UNIMPL nosys
197117 AUE_NULL UNIMPL nosys
198118 AUE_NULL UNIMPL nosys
199119 AUE_NULL UNIMPL nosys
200120 AUE_NULL UNIMPL nosys
201121 AUE_NULL UNIMPL nosys
202122 AUE_NULL UNIMPL nosys
203123 AUE_NULL UNIMPL nosys
204124 AUE_NULL UNIMPL nosys
205125 AUE_NULL UNIMPL nosys
206126 AUE_NULL UNIMPL nosys
207127 AUE_NULL UNIMPL nosys
8433 AUE_ACCESS STD { int ibcs2_access(char *path, int flags); }
8534 AUE_NICE STD { int ibcs2_nice(int incr); }
8635 AUE_STATFS STD { int ibcs2_statfs(char *path, \
87 struct ibcs2_statfs *buf, int len, \
88 int fstype); }
8936 AUE_NULL NOPROTO { int sync(void); }
9037 AUE_KILL STD { int ibcs2_kill(int pid, int signo); }
9138 AUE_FSTATFS STD { int ibcs2_fstatfs(int fd, \
92 struct ibcs2_statfs *buf, int len, \
93 int fstype); }
9439 AUE_NULL STD { int ibcs2_pgrpsys(int type, caddr_t dummy, \
95 int pid, int pgid); }
9640 AUE_NULL STD { int ibcs2_xenix(int a1, int a2, int a3, \
97 int a4, int a5); }
9841 AUE_NULL NOPROTO { int dup(u_int fd); }
9942 AUE_PIPE NOPROTO { int pipe(void); }
10043 AUE_NULL STD { int ibcs2_times(struct tms *tp); }
10144 AUE_PROFILE NOPROTO { int profil(caddr_t samples, u_int size, \
102 u_int offset, u_int scale); }
10345 AUE_NULL STD { int ibcs2_plock(int cmd); }
10446 AUE_SETGID STD { int ibcs2_setgid(int gid); }
10547 AUE_GETGID NOPROTO { gid_t getgid(void); }
10648 AUE_NULL STD { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
10749 AUE_MSGSYS STD { int ibcs2_msgsys(int which, int a2, \
108 int a3, int a4, int a5, int a6); }
10950 AUE_NULL STD { int ibcs2_sysi86(int cmd, int *arg); }
11051 AUE_NULL UNIMPL ibcs2_acct
11152 AUE_SHMSYS STD { int ibcs2_shmsys(int which, int a2, \
112 int a3, int a4); }
11353 AUE_SEMSYS STD { int ibcs2_semsys(int which, int a2, \
114 int a3, int a4, int a5); }
11554 AUE_IOCTL STD { int ibcs2_ioctl(int fd, int cmd, \
116 caddr_t data); }
11755 AUE_NULL STD { int ibcs2_uadmin(int cmd, int func, \
118 caddr_t data); }
11956 AUE_NULL UNIMPL nosys
12057 AUE_NULL STD { int ibcs2_utssys(int a1, int a2, \
121 int flag); }
12258 AUE_FSYNC NOPROTO { int fsync(int fd); }
12359 AUE_EXECVE STD { int ibcs2_execve(char *path, char **argp, \
124 char **envp); }
12560 AUE_UMASK NOPROTO { int umask(int newmask); }
12661 AUE_CHROOT NOPROTO { int chroot(char *path); }
12762 AUE_FCNTL STD { int ibcs2_fcntl(int fd, int cmd, \
128 char *arg); }
12963 AUE_NULL STD { long ibcs2_ulimit(int cmd, int newlimit); }
13064 AUE_NULL UNIMPL reserved for unix/pc
13165 AUE_NULL UNIMPL reserved for unix/pc
13266 AUE_NULL UNIMPL reserved for unix/pc
13367 AUE_NULL UNIMPL reserved for unix/pc
13468 AUE_NULL UNIMPL reserved for unix/pc
13569 AUE_NULL UNIMPL reserved for unix/pc
13670 AUE_NULL OBSOL rfs_advfs
13771 AUE_NULL OBSOL rfs_unadvfs
13872 AUE_NULL OBSOL rfs_rmount
13973 AUE_NULL OBSOL rfs_rumount
14074 AUE_NULL OBSOL rfs_rfstart
14175 AUE_NULL OBSOL rfs_sigret
14276 AUE_NULL OBSOL rfs_rdebug
14377 AUE_NULL OBSOL rfs_rfstop
14478 AUE_NULL UNIMPL rfs_rfsys
14579 AUE_RMDIR STD { int ibcs2_rmdir(char *path); }
14680 AUE_MKDIR STD { int ibcs2_mkdir(char *path, int mode); }
14781 AUE_GETDIRENTRIES STD { int ibcs2_getdents(int fd, char *buf, \
148 int nbytes); }
14982 AUE_NULL UNIMPL nosys
15083 AUE_NULL UNIMPL nosys
15184 AUE_NULL STD { int ibcs2_sysfs(int cmd, caddr_t d1, \
152 char *buf); }
15385 AUE_GETMSG STD { int ibcs2_getmsg(int fd, \
154 struct ibcs2_stropts *ctl, \
155 struct ibcs2_stropts *dat, int *flags); }
15686 AUE_PUTMSG STD { int ibcs2_putmsg(int fd, \
157 struct ibcs2_stropts *ctl, \
158 struct ibcs2_stropts *dat, int flags); }
15987 AUE_POLL NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
160 int timeout); }
16188 AUE_NULL UNIMPL nosys
16289 AUE_NULL STD { int ibcs2_secure(int cmd, int a1, int a2, \
163 int a3, int a4, int a5); }
16490 AUE_SYMLINK STD { int ibcs2_symlink(char *path, \
165 char *link); }
16691 AUE_LSTAT STD { int ibcs2_lstat(char *path, \
167 struct ibcs2_stat *st); }
16892 AUE_READLINK STD { int ibcs2_readlink(char *path, char *buf, \
169 int count); }
17093 AUE_NULL UNIMPL nosys
17194 AUE_NULL UNIMPL nosys
17295 AUE_NULL UNIMPL nosys
17396 AUE_NULL UNIMPL nosys
17497 AUE_NULL UNIMPL nosys
17598 AUE_NULL UNIMPL nosys
17699 AUE_NULL UNIMPL nosys
177100 AUE_NULL UNIMPL nosys
178101 AUE_NULL UNIMPL nosys
179102 AUE_NULL UNIMPL nosys
180103 AUE_NULL NOPROTO { int sigreturn( \
181 struct sigcontext *sigcntxp); }
182104 AUE_NULL UNIMPL nosys
183105 AUE_NULL STD { int ibcs2_isc(void); }
184106 AUE_NULL UNIMPL nosys
185107 AUE_NULL UNIMPL nosys
186108 AUE_NULL UNIMPL nosys
187109 AUE_NULL UNIMPL nosys
188110 AUE_NULL UNIMPL nosys
189111 AUE_NULL UNIMPL nosys
190112 AUE_NULL UNIMPL nosys
191113 AUE_NULL UNIMPL nosys
192114 AUE_NULL UNIMPL nosys
193115 AUE_NULL UNIMPL nosys
194116 AUE_NULL UNIMPL nosys
195117 AUE_NULL UNIMPL nosys
196118 AUE_NULL UNIMPL nosys
197119 AUE_NULL UNIMPL nosys
198120 AUE_NULL UNIMPL nosys
199121 AUE_NULL UNIMPL nosys
200122 AUE_NULL UNIMPL nosys
201123 AUE_NULL UNIMPL nosys
202124 AUE_NULL UNIMPL nosys
203125 AUE_NULL UNIMPL nosys
204126 AUE_NULL UNIMPL nosys
205127 AUE_NULL UNIMPL nosys