-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[Windows] Way to make child processes inherits parent attributes? #67616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Current usecases:
|
I changed the feature request. Does this sound more plausible? |
cc @retep998 |
What you're proposing is adding the |
Nope. I just want a way to make child processes inherits its parent attribute. |
Oh, you want to specify that a handle should be inherited by a child process. Marking the handle as inheritable is actually the wrong thing to do. The correct approach is to explicitly tell |
Closing this as there is no clear path on what's being proposed and the issue has been stalled as well |
Uh oh!
There was an error while loading. Please reload this page.
Rust is using it internally: https://github.com/rust-lang/rust/search?q=security_attributes&unscoped_q=security_attributes
But rust doesn't expose that to public APIs.
That makes people fall into unsafe Rust with CreateFileW and CreateFile2.
The text was updated successfully, but these errors were encountered: