-
Notifications
You must be signed in to change notification settings - Fork 94
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 mount functionality to 'Directory' #177
Add mount functionality to 'Directory' #177
Conversation
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.
FTR: I can not request changes on my own PR.
ac05320
to
03950d3
Compare
pkg/filesystem/mount_unix.go
Outdated
_p1 = nil | ||
} | ||
|
||
r0, _, e1 := unix.Syscall6( |
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.
The same holds for fsconfig()
. We could also let golang.org/x/sys/unix
ship with a binding for that. My experience is that the folks maintaining that package are willing to accept such changes. They also review them in a timely manner.
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 have updated the commit with the patch file, and will wait a couple more days for them to see my comment on the original review before forking it.
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.
Pushed a new patch, with the new proposed API.
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.
There has not been any progress on the review since we last discussed the patch :/
golang/go#59537 (comment)
03950d3
to
b29adf9
Compare
b29adf9
to
772956f
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.
👍
772956f
to
4269bbc
Compare
58135c0
to
02a95a4
Compare
02a95a4
to
0af1b16
Compare
0af1b16
to
c822402
Compare
c822402
to
857e0a7
Compare
857e0a7
to
646f697
Compare
Applied the last review comments :) |
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.
Looks good! Will merge when CI is happy.
This is needed for 'chroot' runners that must mount the special filesystems '/proc' and '/sys' in the input root. The necessary syscalls are not yet merged into the 'sys' package, so this includes a patch while we work to upstream the code.
646f697
to
7aef0b0
Compare
This is needed for 'chroot' runners that must mount the special filesystems '/proc' and '/sys' in the input root.
buildbarn/bb-remote-execution#115