Home
last modified time | relevance | path

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

12

/f-stack/freebsd/security/mac/
H A Dmac_syscalls.c114 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 Dmac_socket.c540 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 Dmac_net.c425 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 Dmac_process.c158 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); in mac_execve_enter()
/f-stack/freebsd/arm/arm/
H A Dcopystr.S66 ENTRY(copyinstr)
109 END(copyinstr)
/f-stack/freebsd/kern/
H A Dvfs_extattr.c95 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 Dkern_loginclass.c218 error = copyinstr(uap->namebuf, lcname, sizeof(lcname), NULL); in sys_setloginclass()
H A Dkern_environment.c164 error = copyinstr(uap->name, name, KENV_MNAMELEN + 1, NULL);
198 error = copyinstr(uap->value, value, len, NULL);
H A Dkern_module.c429 if ((error = copyinstr(uap->name, name, sizeof name, 0)) != 0) in sys_modfind()
H A Dsubr_csan.c355 #undef copyinstr
370 return copyinstr(uaddr, kaddr, len, done); in kcsan_copyinstr()
H A Dvfs_export.c428 error = copyinstr(argp->ex_indexfile, nfs_pub.np_index, in vfs_setpublicfs()
H A Duipc_sem.c519 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 Dkern_thr.c588 error = copyinstr(uap->name, name, sizeof(name), NULL); in sys_thr_set_name()
H A Dkern_linker.c1113 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 Dvfs_lookup.c456 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 Dvfs_mount.c861 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 Dsubr_sbuf.c574 switch (copyinstr(uaddr, s->s_buf + s->s_len, len + 1, &done)) { in sbuf_copyin()
H A Dkern_exec.c1451 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 Dcopyout.c149 #undef copyinstr
157 DEFINE_IFUNC(, int, copyinstr, (const void *, void *, size_t, size_t *))
/f-stack/freebsd/arm64/arm64/
H A Dcopyinout.S96 ENTRY(copyinstr)
125 END(copyinstr)
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dvmsystm.h74 copyinstr(const void *from, void *to, size_t len, size_t *done) in copyinstr() function
/f-stack/freebsd/sys/
H A Dsystm.h398 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 Dcopyout.c162 copyinstr(const void *udaddr, void *kaddr, size_t maxlen, size_t *lencopied) in copyinstr() function
/f-stack/freebsd/mips/mips/
H A Dsupport.S118 LEAF(copyinstr)
150 END(copyinstr)
/f-stack/lib/
H A Dff_glue.c631 copyinstr(const void *uaddr, void *kaddr, size_t len, size_t *done) in copyinstr() function

12