On 2024-10-16 09:50:41 -0700, Christophe Pettus wrote: > > On Oct 16, 2024, at 09:47, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > > I believe it depends on your platform --- some BSDen are pretty > > permissive about this, if memory serves. On a Linux box it seems > > to work for processes owned by yourself even if you're not superuser. > > I just tried it on an (admittedly kind of old) Ubuntu system and MacOS > 14, and it looks like shows everything owned by everyone, even from a > non-sudoer user. On Linux, unprivileged users can only see the environment of their own processes since a *very* long time ago. Possibly even before Ubuntu even existed. So I'm somewhat sceptical about that. Some other Unixes were more permissive. I don't know what camp MacOS falls into. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@xxxxxx | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
Attachment:
signature.asc
Description: PGP signature