NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: bin/53651: sockstat(1) no longer list information when invoked as user



The following reply was made to PR bin/53651; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: re: bin/53651: sockstat(1) no longer list information when invoked as user
Date: Sun, 07 Oct 2018 05:45:13 +1100

 AFAICT, the only reason the unpriv'd tools fail now is that they
 can't compare values from different sysctl's to ensure they have
 the right thing.  christos' expose_addr hack is a good workaround
 for when this problem occurs, but it would be much nicer if we
 were able to give these sysctls some cookie pointer value that
 is comparable with others, but doesn't reveal any kva.
 
 it's not that the kernel is re-using addresses from the userland,
 but only that two addresses are identical.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index