Home
last modified time | relevance | path

Searched refs:copyinstr (Results 1 – 25 of 29) sorted by relevance

12

/xnu-11215.81.4/bsd/kern/
H A Dsys_record_event.c44 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 Dkern_xxx.c132 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 Dsys_work_interval.c142 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 Dsys_persona.c151 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall()
H A Dposix_sem.c409 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_open()
719 error = copyinstr(uap->name, pnbuf, MAXPATHLEN, &pathlen); in sem_unlink()
H A Dposix_shm.c321 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name()
H A Dkern_prot.c1627 error = copyinstr(uap->namebuf, in setlogin()
H A Dkdebug.c1272 err = copyinstr(uap->str, str_buf, MAX_STR_LEN + 1, &len_copied); in kdebug_trace_string()
H A Dkern_credential.c1007 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 Dcopyio_tests.c215 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 DMakefile17 copyinstr.9 \
/xnu-11215.81.4/osfmk/kern/
H A Dmisc_protos.h147 extern int copyinstr(
H A Dexclaves.c343 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 Dlibkern.h202 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 Dthread_samplers.c363 if ((error = copyinstr((user_addr_t)user_dqlbl_addr, in kperf_thread_dispatch_sample()
/xnu-11215.81.4/security/
H A Dmac_base.c1190 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 Dcopyio.c413 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 Dvfs_syscalls.c433 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 Dvfs_lookup.c252 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, in namei()
/xnu-11215.81.4/bsd/miscfs/bindfs/
H A Dbind_vfsops.c150 error = copyinstr(user_data, data, MAXPATHLEN - 1, &count); in bindfs_mount()
/xnu-11215.81.4/osfmk/x86_64/
H A Dcopyio.c486 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 Dnull_vfsops.c161 error = copyinstr(user_data + sizeof(conf), path, MAXPATHLEN - 1, &count); in nullfs_mount()
/xnu-11215.81.4/bsd/nfs/
H A Dnfs_subs.c1673 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 Dnfs_syscalls.c305 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen); in getfh()
/xnu-11215.81.4/bsd/dev/dtrace/
H A Ddtrace_glue.c990 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual); in dtrace_copyinstr()

12