|
|
Subscribe / Log in / New account

Attaching file descriptors to processes with CLONE_FD

Attaching file descriptors to processes with CLONE_FD

Posted Apr 2, 2015 5:09 UTC (Thu) by javispedro (guest, #83660)
In reply to: Attaching file descriptors to processes with CLONE_FD by wahern
Parent article: Attaching file descriptors to processes with CLONE_FD

> Evolving? PIDs were always inconsistent in the sense that most resources on Unix were managed as file descriptors.
Well, "everything is a file" resources certainly are, but e.g. mutexes, timers, threads, processes, etc. are not (see win32). Oh wait, there's timerfd now... so yeah, I'd said it's been changing.

> Because presumably you'll be able to do that with this, which open ups all manner of possibilities for process management which don't involve cgroups or a global process manager.
I agree; this makes much of cgroups redundant. Obviously all of the current cgroups functionality needs to be adapted. I just wish the decision to go with process handles was made _before_ the design of cgroups.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds