CLONE_NEWNS or similar in freebsd?

Andriy Gapon avg at icyb.net.ua
Tue Jun 15 20:25:55 UTC 2010


on 15/06/2010 17:42 Boyko Yordanov said the following:
> Hi List,
> 
> I have an app that uses linux's clone() syscall (with the CLONE_NEWNS flag).
> I need to migrate this app to freebsd.
> 
> Is there similar functionality in freebsd? For what I read fork() and rfork()
> wont do the trick. I need the children to have their own private mount
> namespaces.


I am afraid that FreeBSD doesn't have this capability.
There is a single mount namespace per whole system image.
BTW, I am intrigued, in what situations this flag is useful?

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list