![]() This change spins up a new goroutine, locks it to a thread, then unshares CLONE_FS which allows us to `Chdir` from inside the thread without affecting the rest of the program. The thread is no longer usable after unshare so it leaves the thread locked to prevent go from returning the thread to the thread pool. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
lookup_linux_test.go | ||
lookup_unix.go | ||
lookup_unsupported.go | ||
losetup_linux_test.go | ||
losetup_linux.go | ||
mount_freebsd.go | ||
mount_linux_test.go | ||
mount_linux.go | ||
mount_unix.go | ||
mount_windows.go | ||
mount.go | ||
mountinfo.go | ||
temp_unix.go | ||
temp_unsupported.go | ||
temp.go |