Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/syscalls.master
Show All 11 Lines | |||||
; 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, RESERVED, UNIMPL, COMPAT, COMPAT4, COMPAT6, | ; type one of STD, OBSOL, RESERVED, UNIMPL, COMPAT, COMPAT4, COMPAT6, | ||||
; COMPAT7, COMPAT11, COMPAT12, NODEF, NOARGS, NOPROTO, NOSTD | ; COMPAT7, COMPAT11, COMPAT12, 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) | ||||
; The CAPENABLED option may be ORed into a type. | |||||
; name pseudo-prototype of syscall routine | ; name pseudo-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: | ||||
Show All 14 Lines | |||||
; 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 | ||||
; prototype in sys/sysproto.h | ; prototype in sys/sysproto.h | ||||
; NOPROTO same as STD except do not create structure or | ; NOPROTO same as STD except do not create structure or | ||||
; function prototype in sys/sysproto.h. Does add a | ; function prototype in sys/sysproto.h. Does add a | ||||
; definition to syscall.h besides adding a sysent. | ; definition to syscall.h besides adding a sysent. | ||||
; NOTSTATIC syscall is loadable | ; NOTSTATIC syscall is loadable | ||||
; CAPENABLED syscall is allowed in capability mode | |||||
; annotations: | ; annotations: | ||||
; SAL 2.0 annotations are used to specify how system calls treat | ; SAL 2.0 annotations are used to specify how system calls treat | ||||
; arguments that are passed using pointers. There are three basic | ; arguments that are passed using pointers. There are three basic | ||||
; annotations. | ; annotations. | ||||
; | ; | ||||
; _In_ Object pointed to will be read and not modified. | ; _In_ Object pointed to will be read and not modified. | ||||
; _Out_ Object pointed to will be written and not read. | ; _Out_ Object pointed to will be written and not read. | ||||
▲ Show 20 Lines • Show All 3,208 Lines • Show Last 20 Lines |