Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

spec/ace: add two new isolators for masking paths #650

@lucab

Description

@lucab

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.

  1. 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
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions