Lines Matching full:syscall

45 #include <sys/syscall.h>
65 static kmutex_t systrace_lock; /* syscall tracing lock */
139 * Called from syscall() when a non-trivial 32-bit system call occurs.
160 * system call. This is for the loadable-syscall case where the
178 * it either points to syscall-entry-saved amd64 regs,
181 * /proc has possibly mucked with the syscall args.
190 * for syscall handling.
233 * requiring pre-syscall handling must set the t_pre_sys flag. If the
245 t->t_pre_sys = repost = 0; /* clear pre-syscall processing flag */
254 * On the amd64 kernel, the syscall arguments in the rdi..r9
303 * /proc may have modified syscall args,
306 * copy them again, both for the syscall
311 * the syscall ml code redoes
313 * syscall handler after we return. For
332 * lwp_arg for post-syscall processing, regardless of whether
353 * begin auditing for this syscall if the c2audit module is loaded
374 TNF_PROBE_1(syscall_start, "syscall thread", /* CSTYLED */,
416 * If there was a continuing reason for pre-syscall processing,
428 * Post-syscall processing. Perform abnormal system call completion
432 * Any condition requiring pre-syscall handling must set one of these.
455 * forkall(). In these LWPs, skip most of post-syscall activity.
463 * amd64 syscall interface has not.
471 /* put out audit record for this syscall */
603 * syscall.
607 * If a single-step trap occurred on a syscall (see trap())
652 * syscall failed after creating the LWP.
676 * delivered *during* the syscall, then re-enable the
705 TNF_PROBE_3(syscall_end, "syscall thread", /* CSTYLED */,
751 * pointer so the next syscall will have the right
757 lwp->lwp_ap = NULL; /* reset on every syscall entry */
764 * If there was a continuing reason for post-syscall processing,
878 * Need space on the stack to store syscall arguments.
889 CPU_STATS_ADDQ(CPU, sys, syscall, 1);
1015 nargs = 0; /* illegal syscall */
1131 * syscall.
1174 * Loadable syscall support.
1177 * Later, if the syscall is not unloadable, it could patch the vector.
1202 * we've locked either the loaded syscall or nosys
1235 * Indirect syscall handled in libc on x86 architectures
1259 * set_proc_pre_sys - Set pre-syscall processing for entire process.
1276 * set_proc_post_sys - Set post-syscall processing for entire process.
1293 * set_proc_sys - Set pre- and post-syscall processing for entire process.
1311 * set_all_proc_sys - set pre- and post-syscall processing flags for all
1333 * set_all_zone_usr_proc_sys - set pre- and post-syscall processing flags for
1363 * Set pre- and post-syscall processing flags