Home
last modified time | relevance | path

Searched refs:syscode (Results 1 – 5 of 5) sorted by relevance

/xnu-8019.80.24/bsd/dev/i386/
H A Dsystemcalls.c93 unsigned int code, syscode; in unix_syscall() local
117 syscode = (code < nsysent) ? code : SYS_invalid; in unix_syscall()
119 code, syscallnames[syscode], (uint32_t)regs->eip); in unix_syscall()
124 callp = &sysent[syscode]; in unix_syscall()
129 syscode = (code < nsysent) ? code : SYS_invalid; in unix_syscall()
130 callp = &sysent[syscode]; in unix_syscall()
188 …bable(proc_syscall_filter_mask(p) != NULL && !bitstr_test(proc_syscall_filter_mask(p), syscode))) { in unix_syscall()
189 error = mac_proc_check_syscall_unix(p, syscode); in unix_syscall()
281 unsigned int code, syscode; in unix_syscall64() local
314 syscode = (code < nsysent) ? code : SYS_invalid; in unix_syscall64()
[all …]
/xnu-8019.80.24/security/
H A Dmac_audit.c268 mac_audit_check_preselect(struct ucred *cred, unsigned short syscode, void *args) in mac_audit_check_preselect() argument
283 syscode, args); in mac_audit_check_preselect()
296 syscode, args); in mac_audit_check_preselect()
307 mac_audit_check_postselect(struct ucred *cred, unsigned short syscode, in mac_audit_check_postselect() argument
331 syscode, args, error, retval); in mac_audit_check_postselect()
344 syscode, args, error, retval); in mac_audit_check_postselect()
404 mac_audit_check_preselect(__unused struct ucred *cred, __unused unsigned short syscode, in mac_audit_check_preselect() argument
411 mac_audit_check_postselect(__unused struct ucred *cred, __unused unsigned short syscode, in mac_audit_check_postselect() argument
H A Dmac_framework.h145 int mac_audit_check_postselect(kauth_cred_t cred, unsigned short syscode,
147 int mac_audit_check_preselect(kauth_cred_t cred, unsigned short syscode,
H A Dmac_policy.h209 unsigned short syscode,
245 unsigned short syscode,
/xnu-8019.80.24/bsd/dev/arm/
H A Dsystemcalls.c100 unsigned short code, syscode; in unix_syscall() local
119 syscode = (code < nsysent) ? code : SYS_invalid; in unix_syscall()
120 callp = &sysent[syscode]; in unix_syscall()
168 …proc_syscall_filter_mask(proc) != NULL && !bitstr_test(proc_syscall_filter_mask(proc), syscode))) { in unix_syscall()
169 error = mac_proc_check_syscall_unix(proc, syscode); in unix_syscall()
179 !bitmap_test(uthread->syscall_rejection_mask, mach_trap_count + syscode)) { in unix_syscall()
180 if (debug_syscall_rejection_handle(syscode)) { in unix_syscall()