blob: 4986ad41fc6a9d7868bcf87588438f035b6cdd1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
0 AUE_NULL UNIMPL unimpl_syscall0
; Scenario #1: Vendor uses a reserved slot on just a single platform
#ifdef PLATFORM_FOO
1 AUE_NULL STD {
int syscall1(
int arg1
);
}
#else
1 AUE_NULL RESERVED
#endif
; Scenario #2: The other way around; vendor obsoletes a syscall on newer
; platforms
#ifdef PLATFORM_FOO
2 AUE_NULL OBSOL syscall2
#else
2 AUE_NULL STD {
int syscall2(void);
}
#endif
|