|author||Rich Felker <firstname.lastname@example.org>||2020-11-23 19:44:19 -0500|
|committer||Rich Felker <email@example.com>||2020-11-23 19:44:19 -0500|
linux fails with EINVAL when a zero buffer size is passed to the syscall. this is non-conforming because POSIX already defines EINVAL with a significantly different meaning: the target is not a symlink. since the request is semantically valid, patch it up by using a dummy buffer of length one, and truncating the return value to zero if it succeeds.
Diffstat (limited to 'arch/or1k/bits/socket.h')
0 files changed, 0 insertions, 0 deletions