Hacker News new | ask | show | jobs
by cpuguy83 1286 days ago
On modern kernels you can do some really interesting things like "pidfd_open" and "pidfd_getfd" to get a duplicate file descriptor from the process referred to by the pidfd.