Skip to content

Document more possible syscall errors

Rose Hudson requested to merge rosehuds/syscall:patch-1 into master

For syscalls that enforce_root()?, describe why they would return EPERM in rustdoc. Also, EINVAL on level > 3 in iopl(), ENOMEM in physalloc(), and EFAULT in physunmap().

Should ESRCH be documented in the same way? I don't think it's something userspace developers will need...

Merge request reports