Home
last modified time | relevance | path

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

12

/xnu-10002.1.13/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.c135 int copy_error = copyinstr(uap->msg, (void *)message, kPanicStringMaxLen, (size_t *)&dummy); in reboot()
193 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.c319 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name()
H A Dkern_prot.c1630 error = copyinstr(uap->namebuf, in setlogin()
H A Dkdebug.c1269 err = copyinstr(uap->str, str_buf, MAX_STR_LEN + 1, &len_copied); in kdebug_trace_string()
H A Dkern_credential.c1008 error = copyinstr(extl.el_extend, CAST_DOWN(void *, workp->kr_extend), MAXPATHLEN, &actual); in kauth_resolver_complete()
H A Dkern_exec.c437 error = copyinstr(str, imgp->ip_strendp, space, &len); in exec_add_user_string()
506 error = copyinstr(path, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
/xnu-10002.1.13/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-10002.1.13/bsd/man/man9/
H A DMakefile17 copyinstr.9 \
/xnu-10002.1.13/osfmk/kern/
H A Dmisc_protos.h147 extern int copyinstr(
/xnu-10002.1.13/bsd/libkern/
H A Dlibkern.h189 int copyinstr(const user_addr_t uaddr, void *kaddr, size_t len, size_t *done) OS_WARN_RESULT;
/xnu-10002.1.13/osfmk/arm64/
H A Dcopyio.c310 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
/xnu-10002.1.13/osfmk/kperf/
H A Dthread_samplers.c359 if ((error = copyinstr((user_addr_t)user_dqlbl_addr, in kperf_thread_dispatch_sample()
/xnu-10002.1.13/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()
1576 error = copyinstr(uap->policy, target, sizeof(target), &ulen); in __mac_syscall()
/xnu-10002.1.13/bsd/vfs/
H A Dvfs_syscalls.c421 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in fmount()
835 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in __mac_mount()
894 error = copyinstr(mac.m_string, labelstr, mac.m_buflen, &ulen); in __mac_mount()
3324 error = copyinstr(uap->arg, datap, MAXPATHLEN, &fnamelen); in quotactl()
4359 …error = copyinstr(uap->new_rootfs_path_before, &new_rootfs_path_before[0], PATHSTATICBUFLEN, &byte… in pivot_root()
4362 …error = copyinstr(uap->new_rootfs_path_before, new_rootfs_path_before_buf, MAXPATHLEN, &bytes_copi… in pivot_root()
4369 …error = copyinstr(uap->old_rootfs_path_after, &old_rootfs_path_after[0], PATHSTATICBUFLEN, &bytes_… in pivot_root()
4372 …error = copyinstr(uap->old_rootfs_path_after, old_rootfs_path_after_buf, MAXPATHLEN, &bytes_copied… in pivot_root()
4678 (void)copyinstr(ndp->ni_dirp, in open1()
4738 (void)copyinstr(ndp->ni_dirp, in open1()
[all …]
H A Dvfs_lookup.c252 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, in namei()
/xnu-10002.1.13/bsd/miscfs/bindfs/
H A Dbind_vfsops.c150 error = copyinstr(user_data, data, MAXPATHLEN - 1, &count); in bindfs_mount()
/xnu-10002.1.13/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-10002.1.13/bsd/miscfs/nullfs/
H A Dnull_vfsops.c161 error = copyinstr(user_data + sizeof(conf), path, MAXPATHLEN - 1, &count); in nullfs_mount()
/xnu-10002.1.13/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-10002.1.13/bsd/dev/dtrace/
H A Ddtrace_glue.c993 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual); in dtrace_copyinstr()

12