Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Policies required for logind BPF-based hidraw revoke #1920

Draft
wants to merge 3 commits into
base: rawhide
Choose a base branch
from

Commits on Nov 1, 2023

  1. Allow logind to access usb devices

    usb devices is a broad stroke, our plan is for logind to access
    /dev/hidraw devices but those are under the more rather generic
    usb_devices_t label.
    whot committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c1bcdb0 View commit details
    Browse the repository at this point in the history
  2. Allow dbus to inherit usb devices

    Our plan is to add support for /dev/hidraw devices to logind via its
    TakeDevice() - this requires that logind passes the fd via dbus to the
    target (usually the compositor).
    whot committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    f887a45 View commit details
    Browse the repository at this point in the history
  3. Allow bpf for logind

    The current plan is to implement hidraw revoke support via BPF - for
    this to work logind has to be able to load and run BPF programs.
    whot committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    637d37c View commit details
    Browse the repository at this point in the history