fn read_user_path(path_ptr: u64, path_len: u64) -> Result<String, SyscallError>Expand description
Read a NUL-terminated or length-bounded path from user space.
path_ptr and path_len come directly from syscall arguments.
If path_len is 0 the string is assumed to be NUL-terminated up to 4096 bytes.