Skip to content

Virtualize sysfs to prevent host information exposure #261

Open

Description

@congwang-mk

Granting -r /sys exposes host hardware and topology despite the explicit block on /sys/class/net; alternative paths under /sys/devices can reveal network devices too.

Provide a read-only synthetic sysfs view consistent with the sandbox’s virtual CPU and network state. Hide unsupported entries and cover directory listings, symlinks, directory-relative access, and metadata without falling through to host sysfs.

Account for existing GPU support with narrowly scoped device views instead of broad host PCI/NVIDIA sysfs access.

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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions