This is a request for two new isolators, useful for making paths unreachable or read-only.
This follows concepts already present in OCI config and in rkt contaiment.
- Inaccessible paths
- scope: per-app
- name: environment/masked-paths
- value: array of inaccessible paths
- NOTES: absolute paths; ignore single entry if target path doesn't exit
- Read-Only paths
- scope: per-app
- name: environment/readonly-paths
- value: array of RO paths
- NOTES: absolute paths; ignore single entry if target path doesn't exit
Example:
{
"name": "environment/masked-paths",
"value": {
[
"/proc/cpuinfo",
"/foo"
]
}
}
{
"name": "environment/readonly-paths",
"value": {
[
"/proc/swaps",
"/bar"
]
}
}
Up for discussion: better isolators category/name?