Skip to content

Commit

Permalink
Allow containers to mount tmpfs_t file systems
Browse files Browse the repository at this point in the history
Signed-off-by: Radim Hrazdil <[email protected]>
  • Loading branch information
Radim Hrazdil committed Nov 15, 2022
1 parent 7fafd46 commit 251c530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container.te
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ container_spc_stream_connect(container_domain)
fs_dontaudit_remount_tmpfs(container_domain)
dev_dontaudit_mounton_sysfs(container_domain)
dev_dontaudit_mounton_sysfs(container_domain)
allow container_t tmpfs_t:filesystem { mount };

dontaudit container_domain container_runtime_tmpfs_t:dir read;
allow container_domain container_runtime_tmpfs_t:dir mounton;
Expand Down

0 comments on commit 251c530

Please sign in to comment.