1

Is there something like setns (from <sched.h>) on MacOSX?

Albert
  • 65,406
  • 61
  • 242
  • 386
  • This seems to be a XY problem. Please describe what you want to achieve, instead of describing the solution you imagine. https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem – Yunnosch Apr 20 '19 at 20:53
  • 1
    I want to port some Linux code which uses `setns` to MacOSX. – Albert Apr 20 '19 at 21:04
  • Do so by finding out what setns is used to achieve and then ask how to achieve it, please. – Yunnosch Apr 20 '19 at 21:05
  • 1
    But even then, I still would want to know (just for curiosity), if there is sth like `setns` on MacOSX. – Albert Apr 20 '19 at 21:06
  • (Btw, what `setns` does is documented in the page I linked. That's exactly what I want to achieve.) – Albert Apr 20 '19 at 21:06
  • (Also, maybe the answer is simply, there is nothing equivalent like namespaces on OSX, so this does not exist, or whatever.) – Albert Apr 20 '19 at 21:09
  • Having read [this answer](https://stackoverflow.com/a/10813867/3386109), I'm pretty sure that there's nothing equivalent in MacOS. – user3386109 Apr 20 '19 at 21:15

0 Answers0