forked from apache/mesos
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict mount point permission for /dev/shm
/dev/shm is a bindmount on /run/mesos/<containerid>/.. This directory is a tmpfs created with very wide permssions. Sadly it allows any container without a rootfs to view and read files in this directory. User expectations for /dev/shm can be to store private elements and they can forget to set special permissions. Like sandboxes were made private by default, this patch makes /dev/shm really private. Change-Id: I4db1ede989af1c0bb9a88ef04cf4802c9c3e2b49 JIRA: MESOS-5187
- Loading branch information
1 parent
39c6c8c
commit 85f7a72
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters