Skip to content

Add BaseContainer support for PSEC fs_enumerate #1162

Description

Description of the new feature / enhancement

Add BaseContainer support for the PSEC fs_enumerate filesystem policy. MXC currently builds the PSEC specification with fs_read_only and fs_read_write, but cannot express an enumeration-only filesystem grant.

This is needed so BaseContainer can request directory-enumeration access through the native process security environment contract without requiring a broader filesystem grant.

Proposed technical implementation details

  • Update the generated PSEC bindings to a specification version that includes fs_enumerate.
  • Plumb the corresponding filesystem paths through the BaseContainer PSEC specification builder.
  • Add capability/version handling so unsupported hosts fail closed or use an appropriate compatible fallback rather than silently dropping the policy.
  • Add serialization, policy-mapping, and BaseContainer execution coverage for fs_enumerate.

Activity

  1. added
    Issue-Feature
    Needs-Triage
    on Sep 14, 2026
  2. removed
    Needs-Triage
    on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backend-ProcessContainerIssue-Feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions