lib: Translate ENXIO to NT_STATUS_ILLEGAL_FUNCTION
commit1548c1e7a6fd3582e8011eeb27c67f44fcee614c
authorVolker Lendecke <vl@samba.org>
Mon, 15 May 2023 15:23:43 +0000 (15 17:23 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 3 Jul 2023 19:40:35 +0000 (3 19:40 +0000)
tree72613cd6677c8dcaa56000e23c2db99d871cbc25
parent79b07271ee94b13c68dd4e4c4cde1474614a1699
lib: Translate ENXIO to NT_STATUS_ILLEGAL_FUNCTION

ENXIO is returned when trying to openat() a unix domain socket or a
FIFO without anything at the other end. [MS-ERREF] has
ILLEGAL_FUNCTION as "The specified handle is not open to the server
end of the named pipe.", which comes pretty close to me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/errmap_unix.c