• Elliott Hughes's avatar
    Fix getpid caching across a clone. · fa9e16ef
    Elliott Hughes authored
    If you make clone, fork, or vfork system calls directly, you're still
    on your own, but we now do the right thing for the clone wrapper.
    With this implementation, children lose the getpid caching, but we've
    no reason to think that that covers any significant use cases.
    
    Bug: 15387103
    Change-Id: Icfab6b63c708fea830960742ec92aeba8ce7680d
    fa9e16ef
clone.cpp 3.37 KB