syscall.master: Fix comments
Have more accruate comments. While #if, #else, etc are copied to the header files, lines that don't start with # are not. And #include files are only output to sysinc (which winds up at the front of init_sysent.c which seems a bit odd). This is all radically undocumented, and likely has drifted somewhat from 4.4BSD and what other systems do (they've drifted too, fwiw). Sponsored by: Netflix
This commit is contained in:
parent
c1e987e062
commit
559b94a122
@ -26,6 +26,10 @@
|
|||||||
; 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.
|
||||||
|
|
||||||
|
; #include's, #defines's, etc. may be included, and are copied to the output
|
||||||
|
; files. However, #ifdef, etc will be copied, but any lines that don't start
|
||||||
|
; with # will not. Caveat Emptor.
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysent.h>
|
#include <sys/sysent.h>
|
||||||
#include <sys/sysproto.h>
|
#include <sys/sysproto.h>
|
||||||
@ -36,8 +40,6 @@
|
|||||||
; Isn't pretty, but there seems to be no other way to trap nosys
|
; Isn't pretty, but there seems to be no other way to trap nosys
|
||||||
#define nosys linux_nosys
|
#define nosys linux_nosys
|
||||||
|
|
||||||
; #ifdef's, etc. may be included, and are copied to the output files.
|
|
||||||
|
|
||||||
0 AUE_NULL NOPROTO {
|
0 AUE_NULL NOPROTO {
|
||||||
int read(
|
int read(
|
||||||
int fd,
|
int fd,
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
; 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.
|
||||||
|
|
||||||
|
; #include's, #defines's, etc. may be included, and are copied to the output
|
||||||
|
; files. However, #ifdef, etc will be copied, but any lines that don't start
|
||||||
|
; with # will not. Caveat Emptor.
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysent.h>
|
#include <sys/sysent.h>
|
||||||
#include <sys/sysproto.h>
|
#include <sys/sysproto.h>
|
||||||
@ -36,8 +40,6 @@
|
|||||||
; Isn't pretty, but there seems to be no other way to trap nosys
|
; Isn't pretty, but there seems to be no other way to trap nosys
|
||||||
#define nosys linux_nosys
|
#define nosys linux_nosys
|
||||||
|
|
||||||
; #ifdef's, etc. may be included, and are copied to the output files.
|
|
||||||
|
|
||||||
0 AUE_NULL UNIMPL setup
|
0 AUE_NULL UNIMPL setup
|
||||||
1 AUE_EXIT STD {
|
1 AUE_EXIT STD {
|
||||||
void linux_exit(
|
void linux_exit(
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
; Linux ABI system call generic name/number map, based on Linux file
|
; Linux ABI system call generic name/number map, based on Linux file
|
||||||
; include/uapi/asm-generic/unistd.h
|
; include/uapi/asm-generic/unistd.h
|
||||||
|
|
||||||
|
; #include's, #defines's, etc. may be included, and are copied to the output
|
||||||
|
; files. However, #ifdef, etc will be copied, but any lines that don't start
|
||||||
|
; with # will not. Caveat Emptor.
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysent.h>
|
#include <sys/sysent.h>
|
||||||
#include <sys/sysproto.h>
|
#include <sys/sysproto.h>
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
; 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.
|
||||||
|
|
||||||
|
; #include's, #defines's, etc. may be included, and are copied to the output
|
||||||
|
; files. However, #ifdef, etc will be copied, but any lines that don't start
|
||||||
|
; with # will not. Caveat Emptor.
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysent.h>
|
#include <sys/sysent.h>
|
||||||
#include <sys/sysproto.h>
|
#include <sys/sysproto.h>
|
||||||
|
@ -108,7 +108,9 @@
|
|||||||
; timet_ Object contains a time_t and varies between i386 and other
|
; timet_ Object contains a time_t and varies between i386 and other
|
||||||
; ABIs.
|
; ABIs.
|
||||||
|
|
||||||
; #ifdef's, etc. may be included, and are copied to the output files.
|
; #include's, #defines's, etc. may be included, and are copied to the output
|
||||||
|
; files. However, #ifdef, etc will be copied, but any lines that don't start
|
||||||
|
; with # will not. Caveat Emptor.
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/sysent.h>
|
#include <sys/sysent.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user