Hacker News new | ask | show | jobs
by db48x 26 days ago
You’re right; technically read–only access to a string only needs to know the pointer and length. I didn’t take the time to polish my message very much.

Errorno is stupid and annoying too, but I think that’s mostly a libc thing rather than a kernel thing. The syscalls themselves simply return error codes in a register as a return value. Worth fixing though.