[Nix-dev] Avoiding threads in the daemon
    Eelco Dolstra 
    eelco.dolstra at logicblox.com
       
    Fri Dec 19 19:46:13 CET 2014
    
    
  
Hi,
On 19/12/14 19:41, Shea Levy wrote:
> Can't you unshare in the parent then setns back after fork?
In a multi-threaded program, that sounds incredibly racy :-)
(Though it's not clear to me whether unshare() works on the current process or
the current thread. Manpage says process...)
-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
    
    
More information about the nix-dev
mailing list