init_sysent.c (13227efc5b034bfa31c90a3b75f9d006c77c6c90) init_sysent.c (74231c81720235c413cca2443e3e87b3761bf141)
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically @generated.
5 */
6
7#include <sys/param.h>
8#include <sys/sysent.h>

--- 44 unchanged lines hidden (view full) ---

53#endif
54
55#ifdef COMPAT_FREEBSD13
56#define compat13(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd13_, name)
57#else
58#define compat13(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
59#endif
60
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically @generated.
5 */
6
7#include <sys/param.h>
8#include <sys/sysent.h>

--- 44 unchanged lines hidden (view full) ---

53#endif
54
55#ifdef COMPAT_FREEBSD13
56#define compat13(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd13_, name)
57#else
58#define compat13(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
59#endif
60
61#ifdef COMPAT_FREEBSD14
62#define compat14(n, name) .sy_narg = n, .sy_call = (sy_call_t *)__CONCAT(freebsd14_, name)
63#else
64#define compat14(n, name) .sy_narg = 0, .sy_call = (sy_call_t *)nosys
65#endif
66
61/* The casts are bogus but will do for now. */
62struct sysent sysent[] = {
63 { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 0 = syscall */
64 { .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */
65 { .sy_narg = 0, .sy_call = (sy_call_t *)sys_fork, .sy_auevent = AUE_FORK, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 2 = fork */
66 { .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 3 = read */
67 { .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 4 = write */
68 { .sy_narg = AS(open_args), .sy_call = (sy_call_t *)sys_open, .sy_auevent = AUE_OPEN_RWTC, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 5 = open */

--- 585 unchanged lines hidden ---
67/* The casts are bogus but will do for now. */
68struct sysent sysent[] = {
69 { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 0 = syscall */
70 { .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 1 = exit */
71 { .sy_narg = 0, .sy_call = (sy_call_t *)sys_fork, .sy_auevent = AUE_FORK, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 2 = fork */
72 { .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 3 = read */
73 { .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 4 = write */
74 { .sy_narg = AS(open_args), .sy_call = (sy_call_t *)sys_open, .sy_auevent = AUE_OPEN_RWTC, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 5 = open */

--- 585 unchanged lines hidden ---