Skip to content

clone: Honor CLONE_PARENT#13255

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919859635
Open

clone: Honor CLONE_PARENT#13255
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919859635

Conversation

@copybara-service
Copy link
Copy Markdown

clone: Honor CLONE_PARENT

Thus far we were silently ignoring this flag.

While writing the syscall test for this change I realized that we were
using the async-signal-unsafe FileDescriptor.reset() (It's unsafe because
it eventually calls getenv()) and exit()
in various fork() contexts, so I fixed the affected syscall tests.

Thus far we were silently ignoring this flag.

While writing the syscall test for this change I realized that we were
using the async-signal-unsafe `FileDescriptor.reset()` (It's unsafe because
it eventually calls `getenv()`) and `exit()`
in various `fork()` contexts, so I fixed the affected syscall tests.

PiperOrigin-RevId: 919859635
@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant