Home
last modified time | relevance | path

Searched refs:err_copy (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/syscalls/src/
Dmain.c54 int err_copy; in z_vrfy_string_nlen() local
57 ret = z_impl_string_nlen((char *)src, maxlen, &err_copy); in z_vrfy_string_nlen()
58 if (!err_copy && K_SYSCALL_MEMORY_READ(src, ret + 1)) { in z_vrfy_string_nlen()
59 err_copy = -1; in z_vrfy_string_nlen()
62 K_OOPS(k_usermode_to_copy((int *)err, &err_copy, sizeof(err_copy))); in z_vrfy_string_nlen()