getpeername(2) fails with EACCES

From: Stephen Campbell <steve_at_avalon.dartmouth.edu>
Date: Fri, 26 Apr 1996 08:58:00 -0400

We are running DU 3.2. We have an application - it happens to be the nnrpd
news-reading server, current official version - which contains a getpeername
system call. In a small number of cases that getpeername call fails with
EACCES, "permission denied." EACCES is not one of the error codes mentioned
for this call in the man page. So my question is: under what circumstances
does getpeername(2) return EACCES?

                                                Steve Campbell
                                                Dartmouth College
Received on Fri Apr 26 1996 - 15:45:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT