Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/freebsd32/syscalls.master
$FreeBSD$ | $FreeBSD$ | ||||
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 | ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 | ||||
; from: src/sys/kern/syscalls.master 1.107 | ; from: src/sys/kern/syscalls.master 1.107 | ||||
; | ; | ||||
; System call name/number master file. | ; System call name/number master file. | ||||
; Processed to created init_sysent.c, syscalls.c and syscall.h. | ; Processed to created init_sysent.c, syscalls.c and syscall.h. | ||||
; Columns: number audit type name alt{name,tag,rtyp}/comments | ; Columns: number audit type name alt{name,tag,rtyp}/comments | ||||
; number system call number, must be in order | ; number system call number, must be in order | ||||
; audit the audit event associated with the system call | ; audit the audit event associated with the system call | ||||
; A value of AUE_NULL means no auditing, but it also means that | ; A value of AUE_NULL means no auditing, but it also means that | ||||
; there is no audit event for the call at this time. For the | ; there is no audit event for the call at this time. For the | ||||
; case where the event exists, but we don't want auditing, the | ; case where the event exists, but we don't want auditing, the | ||||
; event should be #defined to AUE_NULL in audit_kevents.h. | ; event should be #defined to AUE_NULL in audit_kevents.h. | ||||
; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6, | ; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6, | ||||
; COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD | ; COMPAT7, COMPAT10, NODEF, NOARGS, NOPROTO, NOSTD | ||||
; The COMPAT* options may be combined with one or more NO* | ; The COMPAT* options may be combined with one or more NO* | ||||
; options separated by '|' with no spaces (e.g. COMPAT|NOARGS) | ; options separated by '|' with no spaces (e.g. COMPAT|NOARGS) | ||||
; name psuedo-prototype of syscall routine | ; name psuedo-prototype of syscall routine | ||||
; If one of the following alts is different, then all appear: | ; If one of the following alts is different, then all appear: | ||||
; altname name of system call if different | ; altname name of system call if different | ||||
; alttag name of args struct tag if different from [o]`name'"_args" | ; alttag name of args struct tag if different from [o]`name'"_args" | ||||
; altrtyp return type if not int (bogus - syscalls always return int) | ; altrtyp return type if not int (bogus - syscalls always return int) | ||||
; for UNIMPL/OBSOL, name continues with comments | ; for UNIMPL/OBSOL, name continues with comments | ||||
; types: | ; types: | ||||
; STD always included | ; STD always included | ||||
; COMPAT included on COMPAT #ifdef | ; COMPAT included on COMPAT #ifdef | ||||
; COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat) | ; COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat) | ||||
; COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat) | ; COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat) | ||||
; COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat) | ; COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat) | ||||
; COMPAT10 included on COMPAT10 #ifdef (FreeBSD 10 compat) | |||||
; OBSOL obsolete, not included in system, only specifies name | ; OBSOL obsolete, not included in system, only specifies name | ||||
; UNIMPL not implemented, placeholder only | ; UNIMPL not implemented, placeholder only | ||||
; NOSTD implemented but as a lkm that can be statically | ; NOSTD implemented but as a lkm that can be statically | ||||
; compiled in; sysent entry will be filled with lkmressys | ; compiled in; sysent entry will be filled with lkmressys | ||||
; so the SYSCALL_MODULE macro works | ; so the SYSCALL_MODULE macro works | ||||
; NOARGS same as STD except do not create structure in sys/sysproto.h | ; NOARGS same as STD except do not create structure in sys/sysproto.h | ||||
; NODEF same as STD except only have the entry in the syscall table | ; NODEF same as STD except only have the entry in the syscall table | ||||
; added. Meaning - do not create structure or function | ; added. Meaning - do not create structure or function | ||||
▲ Show 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
36 AUE_SYNC NOPROTO { int sync(void); } | 36 AUE_SYNC NOPROTO { int sync(void); } | ||||
37 AUE_KILL NOPROTO { int kill(int pid, int signum); } | 37 AUE_KILL NOPROTO { int kill(int pid, int signum); } | ||||
38 AUE_STAT COMPAT { int freebsd32_stat(char *path, \ | 38 AUE_STAT COMPAT { int freebsd32_stat(char *path, \ | ||||
struct ostat32 *ub); } | struct ostat32 *ub); } | ||||
39 AUE_GETPPID NOPROTO { pid_t getppid(void); } | 39 AUE_GETPPID NOPROTO { pid_t getppid(void); } | ||||
40 AUE_LSTAT COMPAT { int freebsd32_lstat(char *path, \ | 40 AUE_LSTAT COMPAT { int freebsd32_lstat(char *path, \ | ||||
struct ostat *ub); } | struct ostat *ub); } | ||||
41 AUE_DUP NOPROTO { int dup(u_int fd); } | 41 AUE_DUP NOPROTO { int dup(u_int fd); } | ||||
42 AUE_PIPE NOPROTO { int pipe(void); } | 42 AUE_PIPE COMPAT10 { int freebsd32_pipe(void); } | ||||
43 AUE_GETEGID NOPROTO { gid_t getegid(void); } | 43 AUE_GETEGID NOPROTO { gid_t getegid(void); } | ||||
44 AUE_PROFILE NOPROTO { int profil(caddr_t samples, size_t size, \ | 44 AUE_PROFILE NOPROTO { int profil(caddr_t samples, size_t size, \ | ||||
size_t offset, u_int scale); } | size_t offset, u_int scale); } | ||||
45 AUE_KTRACE NOPROTO { int ktrace(const char *fname, int ops, \ | 45 AUE_KTRACE NOPROTO { int ktrace(const char *fname, int ops, \ | ||||
int facs, int pid); } | int facs, int pid); } | ||||
46 AUE_SIGACTION COMPAT { int freebsd32_sigaction( int signum, \ | 46 AUE_SIGACTION COMPAT { int freebsd32_sigaction( int signum, \ | ||||
struct osigaction32 *nsa, \ | struct osigaction32 *nsa, \ | ||||
struct osigaction32 *osa); } | struct osigaction32 *osa); } | ||||
▲ Show 20 Lines • Show All 947 Lines • Show Last 20 Lines |