Searched refs:mach_trap_count (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kern_debug.c | 120 #define SR_MASK_SIZE (BITMAP_SIZE(mach_trap_count + nsysent)) 144 …int const number = syscall_mach_trap_number < 0 ? -syscall_mach_trap_number : (mach_trap_count + s… in debug_syscall_rejection_handle() 208 bitmap_or(dest, dest, src, mach_trap_count + nsysent); in _syscall_rejection_apply_mask() 210 bitmap_and_not(dest, dest, src, mach_trap_count + nsysent); in _syscall_rejection_apply_mask() 307 …tion_mask, ut->syscall_rejection_mask, ut->syscall_rejection_once_mask, mach_trap_count + nsysent); in sys_debug_syscall_reject_config() 355 for (int i = 0; i < mach_trap_count; i++) { in _syscall_rejection_add() 366 bitmap_set(dst, i + mach_trap_count); in _syscall_rejection_add()
|
| H A D | kern_fork.c | 1542 size_t const bitstr_len = BITMAP_SIZE(mach_trap_count + nsysent); in uthread_destroy()
|
| H A D | kern_proc.c | 5118 return mach_trap_count; in proc_get_syscall_filter_mask_size() 5159 if (maskptr != NULL && masklen != (size_t)mach_trap_count) { in proc_set_syscall_filter_mask()
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | syscall_sw.h | 95 extern const int mach_trap_count;
|
| H A D | syscall_sw.c | 380 const int mach_trap_count = (sizeof(mach_trap_table) / sizeof(mach_trap_table[0])); variable
|
| /xnu-12377.41.6/security/ |
| H A D | mac_mach_internal.h | 111 extern const int mach_trap_count;
|
| /xnu-12377.41.6/bsd/dev/arm/ |
| H A D | systemcalls.c | 79 extern int mach_trap_count; 170 unsigned int call_number = mach_trap_count + syscode; in unix_syscall()
|
| /xnu-12377.41.6/osfmk/i386/ |
| H A D | bsd_i386.c | 534 if (call_number < 0 || call_number >= mach_trap_count) { in mach_call_munger() 654 if (call_number < 0 || call_number >= mach_trap_count) { in mach_call_munger64()
|
| /xnu-12377.41.6/bsd/dev/dtrace/ |
| H A D | systrace.c | 614 extern const int mach_trap_count; 632 #define NSYSCALL mach_trap_count
|