| /xnu-11215.81.4/bsd/kern/ |
| H A D | sys_record_event.c | 44 error = copyinstr(uap->event, event, sizeof(event), &bytes_copied); in sys_record_system_event() 48 error = copyinstr(uap->payload, payload, sizeof(payload), &bytes_copied); in sys_record_system_event()
|
| H A D | kern_xxx.c | 132 int copy_error = copyinstr(uap->msg, (void *)message, kPanicStringMaxLen, (size_t *)&dummy); in reboot() 190 int copy_error = copyinstr(uap->msg, (void *)message, kPanicStringMaxLen, (size_t *)&dummy); in sys_panic_with_data()
|
| H A D | sys_work_interval.c | 142 if ((error = copyinstr(uap->arg, wi_name, sizeof(wi_name), &wi_name_len)) != 0) { in work_interval_ctl() 169 if ((error = copyinstr(wlidp_name, wlid_name, sizeof(wlid_name), in work_interval_ctl()
|
| H A D | sys_persona.c | 151 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall()
|
| H A D | posix_sem.c | 409 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_open() 719 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_unlink()
|
| H A D | posix_shm.c | 321 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name()
|
| H A D | kern_prot.c | 1627 error = copyinstr(uap->namebuf, in setlogin()
|
| H A D | kdebug.c | 1272 err = copyinstr(uap->str, str_buf, MAX_STR_LEN + 1, &len_copied); in kdebug_trace_string()
|
| H A D | kern_credential.c | 1007 error = copyinstr(extl.el_extend, CAST_DOWN(void *, workp->kr_extend), MAXPATHLEN, &actual); in kauth_resolver_complete()
|
| /xnu-11215.81.4/bsd/tests/ |
| H A D | copyio_tests.c | 215 return copyinstr((user_addr_t)data->kern_addr, in_buf, copyio_test_buf_size, lencopied); in copyinstr_from_kernel() 227 int err = copyinstr(data->user_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test() 238 err = copyinstr(data->user_addr, in_buf, trunc_size, &lencopied); in copyinstr_test() 246 err = copyinstr(data->unmapped_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test() 248 err = copyinstr(data->user_lastpage_addr, in_buf, PAGE_SIZE * 2, &lencopied); in copyinstr_test() 269 err = copyinstr(data->user_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test() 279 err = copyinstr(user_unterminated_addr, in_buf, copyio_test_buf_size, &lencopied); in copyinstr_test()
|
| /xnu-11215.81.4/bsd/man/man9/ |
| H A D | Makefile | 17 copyinstr.9 \
|
| /xnu-11215.81.4/osfmk/kern/ |
| H A D | misc_protos.h | 147 extern int copyinstr(
|
| H A D | exclaves.c | 343 if (copyinstr(identifier, id_name, EXCLAVES_RESOURCE_NAME_MAX, in _exclaves_ctl_trap() 518 if (copyinstr(identifier, id_name, EXCLAVES_RESOURCE_NAME_MAX, &done) != 0) { in _exclaves_ctl_trap() 579 if (copyinstr(identifier, id_name, EXCLAVES_RESOURCE_NAME_MAX, &done) != 0) { in _exclaves_ctl_trap()
|
| /xnu-11215.81.4/bsd/libkern/ |
| H A D | libkern.h | 202 int copyinstr(const user_addr_t uaddr, void *kaddr, size_t len, size_t *done) OS_WARN_RESULT;
|
| /xnu-11215.81.4/osfmk/kperf/ |
| H A D | thread_samplers.c | 363 if ((error = copyinstr((user_addr_t)user_dqlbl_addr, in kperf_thread_dispatch_sample()
|
| /xnu-11215.81.4/security/ |
| H A D | mac_base.c | 1190 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_get() 1226 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_set() 1572 error = copyinstr(uap->policy, target, sizeof(target), &ulen); in __mac_syscall()
|
| /xnu-11215.81.4/osfmk/arm64/ |
| H A D | copyio.c | 413 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
|
| /xnu-11215.81.4/bsd/vfs/ |
| H A D | vfs_syscalls.c | 433 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in fmount() 887 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in __mac_mount() 947 error = copyinstr(mac.m_string, labelstr, mac.m_buflen, &ulen); in __mac_mount() 3475 error = copyinstr(uap->arg, datap, MAXPATHLEN, &fnamelen); in quotactl() 4503 …error = copyinstr(uap->new_rootfs_path_before, &new_rootfs_path_before[0], PATHSTATICBUFLEN, &byte… in pivot_root() 4506 …error = copyinstr(uap->new_rootfs_path_before, new_rootfs_path_before_buf, MAXPATHLEN, &bytes_copi… in pivot_root() 4513 …error = copyinstr(uap->old_rootfs_path_after, &old_rootfs_path_after[0], PATHSTATICBUFLEN, &bytes_… in pivot_root() 4516 …error = copyinstr(uap->old_rootfs_path_after, old_rootfs_path_after_buf, MAXPATHLEN, &bytes_copied… in pivot_root() 4823 (void)copyinstr(ndp->ni_dirp, in open1() 4885 (void)copyinstr(ndp->ni_dirp, in open1() [all …]
|
| H A D | vfs_lookup.c | 252 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, in namei()
|
| /xnu-11215.81.4/bsd/miscfs/bindfs/ |
| H A D | bind_vfsops.c | 150 error = copyinstr(user_data, data, MAXPATHLEN - 1, &count); in bindfs_mount()
|
| /xnu-11215.81.4/osfmk/x86_64/ |
| H A D | copyio.c | 486 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
|
| /xnu-11215.81.4/bsd/miscfs/nullfs/ |
| H A D | null_vfsops.c | 161 error = copyinstr(user_data + sizeof(conf), path, MAXPATHLEN - 1, &count); in nullfs_mount()
|
| /xnu-11215.81.4/bsd/nfs/ |
| H A D | nfs_subs.c | 1673 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export() 1749 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export() 1888 error = copyinstr(unxa->nxa_exppath, path, MAXPATHLEN, &pathlen); in nfsrv_export()
|
| H A D | nfs_syscalls.c | 305 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen); in getfh()
|
| /xnu-11215.81.4/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 990 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual); in dtrace_copyinstr()
|