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 in syscall_entry()
178 * it either points to syscall-entry-saved amd64 regs, in syscall_entry()
181 * /proc has possibly mucked with the syscall args. in syscall_entry()
190 * for syscall handling. in syscall_entry()
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 */ in pre_syscall()
254 * On the amd64 kernel, the syscall arguments in the rdi..r9 in pre_syscall()
303 * /proc may have modified syscall args, in pre_syscall()
306 * copy them again, both for the syscall in pre_syscall()
311 * the syscall ml code redoes in pre_syscall()
313 * syscall handler after we return. For in pre_syscall()
332 * lwp_arg for post-syscall processing, regardless of whether in pre_syscall()
353 * begin auditing for this syscall if the c2audit module is loaded in pre_syscall()
374 TNF_PROBE_1(syscall_start, "syscall thread", /* CSTYLED */, in pre_syscall()
416 * If there was a continuing reason for pre-syscall processing, in pre_syscall()
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. in post_syscall()
463 * amd64 syscall interface has not. in post_syscall()
471 /* put out audit record for this syscall */ in post_syscall()
603 * syscall. in post_syscall()
607 * If a single-step trap occurred on a syscall (see trap()) in post_syscall()
652 * syscall failed after creating the LWP. in post_syscall()
676 * delivered *during* the syscall, then re-enable the in post_syscall()
705 TNF_PROBE_3(syscall_end, "syscall thread", /* CSTYLED */, in post_syscall()
751 * pointer so the next syscall will have the right in post_syscall()
757 lwp->lwp_ap = NULL; /* reset on every syscall entry */ in post_syscall()
764 * If there was a continuing reason for post-syscall processing, in post_syscall()
878 * Need space on the stack to store syscall arguments. in dosyscall()
889 CPU_STATS_ADDQ(CPU, sys, syscall, 1); in dosyscall()
1015 nargs = 0; /* illegal syscall */ in save_syscall_args()
1131 * syscall. in lock_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 in loadable_syscall()
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 in set_all_zone_usr_proc_sys()