copying vendored nsenter