Or just deny readdir() completely. It's not essential.
% ls -lF blah/udp/16
will still work. Just showing bound sockets would be strange, because
the point of this is to control access to allow binding in the first
place.
> I have to admit, I think this (conceptually) fits better in the realm of
> devfs. /proc just seems wrong for anything like this, but maybe it's my
> distaste of /proc being polluted for configuration controls showing.
Someone wrote a sockfs a long time ago. I don't recall what happened
to it.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/