| /xnu-8020.121.3/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-8020.121.3/bsd/man/man9/ |
| H A D | Makefile | 17 copyinstr.9 \
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_xxx.c | 125 int copy_error = copyinstr(uap->msg, (void *)message, sizeof(message), (size_t *)&dummy); in reboot()
|
| 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 | sys_persona.c | 123 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall()
|
| H A D | posix_shm.c | 319 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name()
|
| H A D | kern_prot.c | 1669 error = copyinstr(uap->namebuf, in setlogin()
|
| H A D | kern_exec.c | 429 error = copyinstr(str, imgp->ip_strendp, space, &len); in exec_add_user_string() 498 error = copyinstr(path, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
|
| H A D | kdebug.c | 1492 err = copyinstr(uap->str, str_buf, MAX_STR_LEN + 1, &len_copied); in kdebug_trace_string()
|
| H A D | kern_credential.c | 1024 error = copyinstr(extl.el_extend, CAST_DOWN(void *, workp->kr_extend), MAXPATHLEN, &actual); in kauth_resolver_complete()
|
| H A D | kern_sig.c | 1558 error = copyinstr(reason_string, (void *) reason_user_desc, in build_userspace_exit_reason()
|
| /xnu-8020.121.3/osfmk/kern/ |
| H A D | misc_protos.h | 147 extern int copyinstr(
|
| /xnu-8020.121.3/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-8020.121.3/osfmk/arm64/ |
| H A D | copyio.c | 326 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
|
| /xnu-8020.121.3/osfmk/kperf/ |
| H A D | thread_samplers.c | 359 if ((error = copyinstr((user_addr_t)user_dqlbl_addr, in kperf_thread_dispatch_sample()
|
| /xnu-8020.121.3/security/ |
| H A D | mac_base.c | 1189 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_get() 1225 if ((error = copyinstr(mac.m_string, input, len, &ulen))) { in mac_do_set() 1575 error = copyinstr(uap->policy, target, sizeof(target), &ulen); in __mac_syscall()
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_syscalls.c | 430 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in fmount() 523 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy); in __mac_mount() 582 error = copyinstr(mac.m_string, labelstr, mac.m_buflen, &ulen); in __mac_mount() 2975 error = copyinstr(uap->arg, datap, MAXPATHLEN, &fnamelen); in quotactl() 4016 …error = copyinstr(uap->new_rootfs_path_before, &new_rootfs_path_before[0], PATHSTATICBUFLEN, &byte… in pivot_root() 4019 …error = copyinstr(uap->new_rootfs_path_before, new_rootfs_path_before_buf, MAXPATHLEN, &bytes_copi… in pivot_root() 4026 …error = copyinstr(uap->old_rootfs_path_after, &old_rootfs_path_after[0], PATHSTATICBUFLEN, &bytes_… in pivot_root() 4029 …error = copyinstr(uap->old_rootfs_path_after, old_rootfs_path_after_buf, MAXPATHLEN, &bytes_copied… in pivot_root() 4307 (void)copyinstr(ndp->ni_dirp, in open1() 5287 error = copyinstr(path_data, path, MAXPATHLEN, &dummy); in symlinkat_internal() [all …]
|
| H A D | vfs_lookup.c | 252 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, in namei()
|
| /xnu-8020.121.3/osfmk/x86_64/ |
| H A D | copyio.c | 504 copyinstr(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes, vm_size_t *lencopied) in copyinstr() function
|
| /xnu-8020.121.3/bsd/miscfs/bindfs/ |
| H A D | bind_vfsops.c | 150 error = copyinstr(user_data, data, MAXPATHLEN - 1, &count); in bindfs_mount()
|
| /xnu-8020.121.3/bsd/miscfs/nullfs/ |
| H A D | null_vfsops.c | 161 error = copyinstr(user_data + sizeof(conf), path, MAXPATHLEN - 1, &count); in nullfs_mount()
|
| /xnu-8020.121.3/osfmk/arm/ |
| H A D | machine_routines_asm.s | 731 .globl EXT(copyinstr) 732 LEXT(copyinstr)
|
| /xnu-8020.121.3/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 994 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual); in dtrace_copyinstr()
|
| /xnu-8020.121.3/bsd/nfs/ |
| H A D | nfs_subs.c | 3151 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export() 3227 error = copyinstr(unxa->nxa_fspath, path, MAXPATHLEN, &pathlen); in nfsrv_export() 3375 error = copyinstr(unxa->nxa_exppath, path, MAXPATHLEN, &pathlen); in nfsrv_export()
|
| H A D | nfs_syscalls.c | 551 error = copyinstr(uap->fname, path, MAXPATHLEN, &pathlen); in getfh()
|