We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efdee4d + c6349ab commit d72cbcbCopy full SHA for d72cbcb
container.if
@@ -87,6 +87,25 @@ interface(`container_read_state',`
87
ps_process_pattern($1, container_runtime_t)
88
')
89
90
+########################################
91
+## <summary>
92
+## Write to /proc/PID of container runtime.
93
+## This is needed e.g. to set uid_map or gid_map
94
+## </summary>
95
+## <param name="domain">
96
97
+## Domain allowed access.
98
99
+## </param>
100
+#
101
+interface(`container_write_proc_files',`
102
+ gen_require(`
103
+ type container_runtime_t;
104
+ ')
105
+
106
+ allow $1 container_runtime_t:file { open write };
107
+')
108
109
########################################
110
## <summary>
111
## Search container lib directories.
0 commit comments