Live data from Hacker News

Security in Plan 9 (2002)

9p.io

71–74 of 74 posts

Re: Security in Plan 9 (2002)

#71

Earlier quoted context omitted.

/proc is cute for manual tasks but utterly broke as an API due to inherent races and issues passing context around.

So utterly broke that the poor "htop" program cannot work at all... oh wait $ strace htop 2>/tmp/e # wait for htop to load and then press 'q' $ cat /tmp/e | grep ^open | grep /proc | wc -l 49817 htop is essentially "find /proc" with a pretty output. Is htop broken for you?

There’s no need to be snarky, especially when you’re missing the point. htop missing a race on a PID is no big deal. GDB doing so is a critical issue. /proc is nice to have for diagnostics but once again it makes for terrible API.

Re: Security in Plan 9 (2002)

#72
post #56

Earlier quoted context omitted.

Apple added support just in 2019! man mount_9p

Anyone have an example, say of how to use this command to mount the public plan9 repo?

I've not messed with it, but will once I find some free time.

There is an old KEXT on GitHub [0] that can mount them from the Finder, but KEXTs are on the way out...

[0]: https://github.com/benavento/mac9p

Re: Security in Plan 9 (2002)

#73
post #56

Earlier quoted context omitted.

Apple added support just in 2019! man mount_9p

Anyone have an example, say of how to use this command to mount the public plan9 repo?

I'm fairly sure that it's used on Mac for the virtualization frameworks when working with guest VMs.

Re: Security in Plan 9 (2002)

#74
Super interesting read. Some really good ideas come out of p9, but very few of them actually made it into tools we use in mass.

For those interested, Himitsu[1] is based on the design of Factotum, but ported to *nix. It's actually a pretty good systems secret store.

[1]: https://drewdevault.com/2022/06/20/Himitsu.html

Post reply on HN