-
Notifications
You must be signed in to change notification settings - Fork 259
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
Add Go bindflt/silo definitions #1331
Conversation
9a03287
to
5838c93
Compare
90f7760
to
c692952
Compare
2a96657
to
43cb3a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should move this stuff to go-winio, since it isnt really container related (but it isnt IO related either ...)
@kevpar and I had talked about this before. I think it makes sense to me at least |
Re-pushed as the CI was "stuck".. Edit: Back to regularly scheduled programming |
This change adds a couple Go bindings for calls and constants from bindfltapi.dll as well as some silo flags for job objects. Together these allow file bindings (think bind mounts on Linux) to be performed for a specific job object. The bindings are only viewable from processes within that specific job. This change additionally adds a couple unit tests for this behavior. Signed-off-by: Daniel Canter <[email protected]>
@microsoft/containerplat Anyone able to take a second gander? |
Return error on file binding if stating the directory fails. Signed-off-by: Daniel Canter <[email protected]>
* Add Go bindflt/silo definitions This change adds a couple Go bindings for calls and constants from bindfltapi.dll as well as some silo flags for job objects. Together these allow file bindings (think bind mounts on Linux) to be performed for a specific job object. The bindings are only viewable from processes within that specific job. This additionally adds a couple unit tests for this behavior. Signed-off-by: Daniel Canter <[email protected]>
This change adds a couple Go bindings for calls and constants from bindfltapi.dll as well as some silo flags for job objects. Together these allow file bindings (think bind mounts on Linux) to be performed for a specific job object. The bindings
are only viewable from processes within that specific job.
This change additionally adds a couple unit tests for this behavior.