We never set the ZMQ_IPC_FILTER_* socket options, so the filter code is unused. On Linux it is also the only caller of getpwuid and getgrgid, which produces a static-link warnings with glibc. i.e:
libzmq.a(ipc_listener.cpp.o): in function `zmq::ipc_listener_t::filter(int)':
warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Related to #25573.