| /f-stack/freebsd/security/mac/ |
| H A D | mac_syscalls.c | 114 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_pid() 149 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_proc() 188 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_proc() 249 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in sys___mac_get_fd() 357 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in kern___mac_get_path() 409 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in sys___mac_set_fd() 525 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in kern___mac_set_path() 561 error = copyinstr(uap->policy, target, sizeof(target), NULL); in sys_mac_syscall()
|
| H A D | mac_socket.c | 540 error = copyinstr(mac->m_string, buffer, mac->m_buflen, NULL); in mac_setsockopt_label() 573 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_label() 612 error = copyinstr(mac->m_string, elements, mac->m_buflen, NULL); in mac_getsockopt_peerlabel()
|
| H A D | mac_net.c | 425 error = copyinstr(mac.m_string, elements, mac.m_buflen, NULL); in mac_ifnet_ioctl_get() 468 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_ifnet_ioctl_set()
|
| H A D | mac_process.c | 158 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | copystr.S | 66 ENTRY(copyinstr) 109 END(copyinstr)
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_extattr.c | 95 error = copyinstr(uap->attrname, attrname, sizeof(attrname), in sys_extattrctl() 240 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_set_fd() 300 error = copyinstr(uattrname, attrname, sizeof(attrname), NULL); in kern_extattr_set_path() 407 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_get_fd() 465 error = copyinstr(uattrname, attrname, sizeof(attrname), NULL); in kern_extattr_get_path() 542 error = copyinstr(uap->attrname, attrname, sizeof(attrname), NULL); in sys_extattr_delete_fd() 597 error = copyinstr(uattrname, attrname, sizeof(attrname), NULL); in kern_extattr_delete_path()
|
| H A D | kern_loginclass.c | 218 error = copyinstr(uap->namebuf, lcname, sizeof(lcname), NULL); in sys_setloginclass()
|
| H A D | kern_environment.c | 164 error = copyinstr(uap->name, name, KENV_MNAMELEN + 1, NULL); 198 error = copyinstr(uap->value, value, len, NULL);
|
| H A D | kern_module.c | 429 if ((error = copyinstr(uap->name, name, sizeof name, 0)) != 0) in sys_modfind()
|
| H A D | subr_csan.c | 355 #undef copyinstr 370 return copyinstr(uaddr, kaddr, len, done); in kcsan_copyinstr()
|
| H A D | vfs_export.c | 428 error = copyinstr(argp->ex_indexfile, nfs_pub.np_index, in vfs_setpublicfs()
|
| H A D | uipc_sem.c | 519 error = copyinstr(name, path + pr_pathlen, in ksem_create() 669 error = copyinstr(uap->name, path + pr_pathlen, MAXPATHLEN - pr_pathlen, in sys_ksem_unlink()
|
| H A D | kern_thr.c | 588 error = copyinstr(uap->name, name, sizeof(name), NULL); in sys_thr_set_name()
|
| H A D | kern_linker.c | 1113 error = copyinstr(uap->file, pathname, MAXPATHLEN, NULL); in sys_kldload() 1196 if ((error = copyinstr(uap->file, pathname, MAXPATHLEN, NULL)) != 0) in sys_kldfind() 1381 if ((error = copyinstr(lookup.symname, symstr, MAXPATHLEN, NULL)) != 0) in sys_kldsym()
|
| H A D | vfs_lookup.c | 456 error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, MAXPATHLEN, in namei_getpath() 1629 error = copyinstr(path, ptr, sz, &len); in kern_alternate_path()
|
| H A D | vfs_mount.c | 861 error = copyinstr(uap->type, fstype, MFSNAMELEN, NULL); in sys_mount() 1412 error = copyinstr(path, pathbuf, MNAMELEN, NULL); in kern_unmount() 2374 ma->error = copyinstr(val, tbuf, len, NULL); in mount_argsu()
|
| H A D | subr_sbuf.c | 574 switch (copyinstr(uaddr, s->s_buf + s->s_len, len + 1, &done)) { in sbuf_copyin()
|
| H A D | kern_exec.c | 1451 copyinstr(fname, args->fname, PATH_MAX, &length); in exec_args_add_fname() 1481 copyinstr(str, args->endp, args->stringspace, &length); in exec_args_add_str()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | copyout.c | 149 #undef copyinstr 157 DEFINE_IFUNC(, int, copyinstr, (const void *, void *, size_t, size_t *))
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | copyinout.S | 96 ENTRY(copyinstr) 125 END(copyinstr)
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | vmsystm.h | 74 copyinstr(const void *from, void *to, size_t len, size_t *done) in copyinstr() function
|
| /f-stack/freebsd/sys/ |
| H A D | systm.h | 398 int copyinstr(const void * __restrict udaddr, 415 #define copyinstr(u, k, l, lc) kcsan_copyinstr((u), (k), (l), (lc)) macro
|
| /f-stack/freebsd/i386/i386/ |
| H A D | copyout.c | 162 copyinstr(const void *udaddr, void *kaddr, size_t maxlen, size_t *lencopied) in copyinstr() function
|
| /f-stack/freebsd/mips/mips/ |
| H A D | support.S | 118 LEAF(copyinstr) 150 END(copyinstr)
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 631 copyinstr(const void *uaddr, void *kaddr, size_t len, size_t *done) in copyinstr() function
|