CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/12/02 08:55:43

Modified files:
        sys/kern       : uipc_socket2.c 
        sys/sys        : socketvar.h 

Log message:
Use maxfiles as global queue limit for listen sockets.

Sockets on the listen queues have no file yet and were not limited
by kern.maxfiles.  A local user could fill the queues of many UNIX
listen sockets with disconnected children and exhaust kernel memory.
Count the queued TCP and UNIX sockets globally and refuse new
connections when they exceed maxfiles.  Each queued socket would
become a file after accept(2) anyway.

from Acts1631; OK mvs@

Reply via email to