Skip to content

rootfs_linux.go: support mounting tmpfs under rofs#1054

Closed
AkihiroSuda wants to merge 1 commit into
opencontainers:masterfrom
AkihiroSuda:support-tmpfs-under-rofs-1
Closed

rootfs_linux.go: support mounting tmpfs under rofs#1054
AkihiroSuda wants to merge 1 commit into
opencontainers:masterfrom
AkihiroSuda:support-tmpfs-under-rofs-1

Conversation

@AkihiroSuda

Copy link
Copy Markdown
Member

The purpose of this PR is to mask /sys/firmware by mounting read-only tmpfs under the read-only sysfs.

So we can prohibit /sys/firmware (which is vulnerable: moby/moby#26618) from being accessed without breaking compatibility.

Please refer to moby/moby#26689

Signed-off-by: Akihiro Suda [email protected]

@AkihiroSuda

Copy link
Copy Markdown
Member Author

Closing in favor of moby/moby#26689 (comment), but maybe useful for other use cases?

@AkihiroSuda

Copy link
Copy Markdown
Member Author

#1068 replaces this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants