| /xnu-11215/san/memory/ |
| H A D | kasan-report.c | 111 n += kasan_impl_decode_issue(buf, len, p, width, access, reason); in kasan_report_internal() 120 kasan_report_internal(p, width, access, reason, true); in kasan_panic_report_internal() 126 kasan_report_internal(p, width, access, reason, false); in kasan_log_report_internal() 132 kasan_crash_report(uptr p, uptr width, access_t access, violation_t reason) in kasan_crash_report() argument 135 kasan_panic_report_internal(p, width, access, reason); in kasan_crash_report() 141 kasan_log_report(uptr p, uptr width, access_t access, violation_t reason) in kasan_log_report() argument 150 kasan_log_report_internal(p, width, access, reason); in kasan_log_report() 179 assert(__builtin_popcount(access) == 1); in kasan_violation() 180 if (!kasan_check_enabled(access)) { in kasan_violation() 186 kasan_log_report(addr, size, access, reason); in kasan_violation() [all …]
|
| H A D | kasan-tbi.c | 159 kasan_tbi_decode_access(access_t access) in kasan_tbi_decode_access() argument 161 if (access & TYPE_LOAD) { in kasan_tbi_decode_access() 164 if (access & TYPE_WRITE) { in kasan_tbi_decode_access() 172 kasan_impl_decode_issue(char *logbuf, size_t bufsize, uptr p, uptr width, access_t access, violatio… in kasan_impl_decode_issue() argument 177 width, kasan_tbi_decode_access(access), p); in kasan_impl_decode_issue() 189 access_t access; in kasan_handle_brk_failure() local 192 access = TYPE_STORE; in kasan_handle_brk_failure() 194 access = TYPE_LOAD; in kasan_handle_brk_failure() 197 kasan_crash_report(addr, width, access, REASON_MOD_OOB); in kasan_handle_brk_failure() 350 kasan_check_range(const void *a, size_t sz, access_t access) in kasan_check_range() argument [all …]
|
| H A D | kasan-helper.c | 80 #define ACCESS_CHECK_DECLARE(type, sz, access) \ argument 82 kasan_check_range((const void *)addr, sz, access); \ 86 #define ACCESS_CHECK_DECLARE(type, sz, access) \ argument 88 kasan_check_range((const void *)addr, sz, access); \
|
| H A D | kasan.c | 119 kasan_check_enabled(access_t access) in kasan_check_enabled() argument 121 return kasan_enabled && (kasan_enabled_checks & access) && !kasan_is_blacklisted(access); in kasan_check_enabled()
|
| H A D | kasan-classic.c | 201 kasan_impl_decode_issue(char *logbuf, size_t bufsize, uptr p, uptr width, access_t access, violatio… in kasan_impl_decode_issue() argument 218 width, kasan_classic_access_to_str(access), p, shadow_str); in kasan_impl_decode_issue() 358 kasan_check_range(const void *x, size_t sz, access_t access) in kasan_check_range() argument 369 kasan_violation(invalid, remaining, access, REASON_POISONED); in kasan_check_range()
|
| /xnu-11215/bsd/sys/ |
| H A D | sysctl.h | 467 SYSCTL_OID(parent, nbr, name, CTLTYPE_STRING|access, \ 471 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 475 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 480 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 487 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 494 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 501 SYSCTL_OID(parent, nbr, name, CTLTYPE_INT|access, \ 508 SYSCTL_OID(parent, nbr, name, CTLTYPE_QUAD|access, \ 515 SYSCTL_OID(parent, nbr, name, CTLTYPE_OPAQUE|access, \ 520 SYSCTL_OID(parent, nbr, name, CTLTYPE_OPAQUE|access, \ [all …]
|
| H A D | cprotect.h | 175 typedef int unwrapper_t(cp_cred_t access, const cp_wrapped_key_t wrapped_key_in, cp_raw_key_t key_o… 176 typedef int rewrapper_t(cp_cred_t access, cp_key_class_t dp_class, const cp_wrapped_key_t wrapped_k… 177 typedef int new_key_t(cp_cred_t access, cp_key_class_t dp_class, cp_raw_key_t key_out, cp_wrapped_k… 178 typedef int invalidater_t(cp_cred_t access); /* invalidates keys */ 179 typedef int backup_key_t(cp_cred_t access, const cp_wrapped_key_t wrapped_key_in, cp_wrapped_key_t …
|
| /xnu-11215/osfmk/i386/ |
| H A D | seg.h | 116 access:8, /* access byte */ member 136 access:8, member 156 .access = acc, \ 171 uint32_t access:8; /* access */ member 179 uint32_t access:8; /* access */ member
|
| H A D | mp_desc.c | 229 .access = ACC_P | ACC_PL_K | ACC_LDT, 241 .access = ACC_P | ACC_PL_K | ACC_TSS, 337 switch (fakep->access & ACC_TYPE) { in fix_desc64() 346 real.gate.access8 = fakep->access; in fix_desc64() 354 real.desc.access8 = fakep->access; in fix_desc64() 484 gdt_desc_p(KERNEL_TSS)->access &= ~ACC_TSS_BUSY; in cpu_desc_load() 686 if ((gdt_desc_p(selector)->access & ACC_PL_U) == ACC_PL_U) { in valid_user_data_selector() 707 if ((gdt_desc_p(selector)->access & ACC_PL_U) == ACC_PL_U) { in valid_user_code_selector() 737 if ((gdt_desc_p(selector)->access & ACC_PL_U) == ACC_PL_U) { in valid_user_stack_selector()
|
| H A D | pcb_native.c | 589 gdt_desc_p(USER64_CS)->access |= ACC_PL_U; in act_machine_switch_pcb() 590 gdt_desc_p(USER_CS)->access &= ~ACC_PL_U; in act_machine_switch_pcb() 621 gdt_desc_p(USER64_CS)->access &= ~ACC_PL_U; in act_machine_switch_pcb() 622 gdt_desc_p(USER_CS)->access |= ACC_PL_U; in act_machine_switch_pcb() 822 if ((pcb->cthread_desc.access & ACC_P) == 0) { in machine_thread_create() 920 .access = ACC_P | ACC_PL_U | ACC_DATA_W, in machine_thread_set_tsd_base()
|
| H A D | bsd_i386_native.c | 203 temp.access = ACC_P | ACC_PL_U | ACC_DATA_W; in thread_set_user_ldt()
|
| H A D | user_ldt.c | 245 switch (dp->access & ~ACC_A) { in i386_set_ldt_impl() 249 dp->access &= (~ACC_P & 0xff); in i386_set_ldt_impl()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_memory_entry.c | 166 unsigned int access; in mach_make_memory_entry_mem_only() local 206 if ((access != parent_entry->access) && in mach_make_memory_entry_mem_only() 219 if (access != MAP_MEM_NOOP) { in mach_make_memory_entry_mem_only() 220 parent_entry->access = access; in mach_make_memory_entry_mem_only() 223 (access != MAP_MEM_NOOP) && in mach_make_memory_entry_mem_only() 310 unsigned int access; in mach_make_memory_entry_named_create() local 469 if (access != MAP_MEM_NOOP) { in mach_make_memory_entry_named_create() 489 user_entry->access = access; in mach_make_memory_entry_named_create() 511 unsigned int access; in mach_make_memory_entry_copy() local 1083 if (access != MAP_MEM_NOOP) { in mach_make_memory_entry_from_parent_entry() [all …]
|
| /xnu-11215/bsd/skywalk/ |
| H A D | os_sysctls_private.h | 211 #define SYSCTL_SKMEM_INT(parent, oid, sysctl_name, access, ptr, offset, descr) \ argument 212 SYSCTL_OID(parent, oid, sysctl_name, CTLTYPE_INT|access, \ 218 #define SYSCTL_SKMEM_TCP_INT(oid, sysctl_name, access, variable_type, \ argument 221 SYSCTL_SKMEM_INT(_net_inet_tcp, oid, sysctl_name, access, \ 224 #define SYSCTL_SKMEM_KERN_IPC_INT(oid, sysctl_name, access, variable_type, \ argument 227 SYSCTL_SKMEM_INT(_kern_ipc, oid, sysctl_name, access, \
|
| /xnu-11215/ |
| H A D | .upstream_base_commits | 2 bsd/man/man2/access.2 freebsd lib/libc/sys/access.2 5b882020081a138285227631c46a406c08e17bc8
|
| /xnu-11215/tests/ |
| H A D | posix_spawn_alt_rosetta.c | 27 if (access("/Library/Apple/usr/libexec/oah/libRosettaRuntime", O_RDONLY) != 0) { 32 if (access("/usr/local/libexec/rosetta/runtime_internal", O_RDONLY) != 0) {
|
| H A D | vm_spawn_tool.c | 22 if (0 != access(prog_path, X_OK)) { in main()
|
| /xnu-11215/doc/observability/ |
| H A D | cpu_counters.md | 20 There are several subsystems that provide access to CPU counter hardware: 25 - Monotonic: The Monotonic system provides access to the fixed CPMU counters with limited support f…
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_server.sub | 131 "(server/us) invalid access", 134 "(server/us) access denied", 143 "(server/us) exclusive access", 191 "(server/exception) invalid access",
|
| H A D | err_kern.sub | 48 "(os/kern) no access", 113 "(os/unix) access denied", 114 "(os/unix) memory access fault",
|
| /xnu-11215/osfmk/mach/ |
| H A D | host_priv.defs | 322 * Set the UserNotification daemon access port for this host. 331 * Get the UserNotification daemon access port for this host. 348 * Active operations (load, unload, disable/enable) require host_priv/root access.
|
| H A D | task_access.defs | 42 * Verify task_for_pid access for the given pid
|
| /xnu-11215/tools/lldbmacros/core/ |
| H A D | xnu_lldb_init.py | 147 if os.access(builtinkexts_path, os.F_OK):
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IODMACommand.iig | 84 * IODMACommand does not perform bounce buffering but allows access to the mapping with 169 * @brief Perform CPU access to the DMA mapping.
|
| /xnu-11215/bsd/man/man2/ |
| H A D | Makefile | 24 access.2 \
|