|158 ↗||(On Diff #64286)|
The kernel returns EFAULT on NULL pointers because it potentially takes a fault in copyout. The AT_CANARY code above crashes which seems gratuitous.
|161 ↗||(On Diff #64286)|
I followed the documentation here.
[EINVAL] The provided buffer was not the right size for the requested item.
Above, I considered buf=NULL to be a degenerate case of not-the-right-size.