Shrink struct sysent from 48 to 32 bytes (on LP64; on ILP32 its probably
from 32 to 28) by shrinking some entries and reordering them. Reviewed by: kib Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D26508
This commit is contained in:
parent
ad86fd010c
commit
4abea760e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366201
@ -65,14 +65,14 @@ extern bool systrace_enabled;
|
||||
#endif /* _KERNEL */
|
||||
|
||||
struct sysent { /* system call table */
|
||||
int sy_narg; /* number of arguments */
|
||||
sy_call_t *sy_call; /* implementing function */
|
||||
au_event_t sy_auevent; /* audit event associated with syscall */
|
||||
systrace_args_func_t sy_systrace_args_func;
|
||||
/* optional argument conversion function. */
|
||||
u_int8_t sy_narg; /* number of arguments */
|
||||
u_int8_t sy_flags; /* General flags for system calls. */
|
||||
au_event_t sy_auevent; /* audit event associated with syscall */
|
||||
u_int32_t sy_entry; /* DTrace entry ID for systrace. */
|
||||
u_int32_t sy_return; /* DTrace return ID for systrace. */
|
||||
u_int32_t sy_flags; /* General flags for system calls. */
|
||||
u_int32_t sy_thrcnt;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user