• Show log

    Commit

  • Hash : b0eba1c5
    Author : Simon McVittie
    Date : 2020-11-11T19:15:32

    joystick: Use inotify to detect joystick unplug if not using udev
    This improves SDL's ability to detect joystick hotplug in a container
    environment.
    
    We cannot reliably receive events from udev in a container, because they
    are delivered as netlink events, which are authenticated by their uid
    being 0. However, in a user namespace created by an unprivileged user
    (for example bubblewrap, as used by Flatpak and Steam's
    pressure-vessel-wrap), the kernel does not allow us to map uid 0, and
    the netlink events appear to be from the kernel's overflowuid (typically
    65534/nobody), meaning libudev cannot distinguish between genuine uevents
    from udevd and an attack by a malicious local user.
    
    Signed-off-by: Simon McVittie <smcv@collabora.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w thodg_l www_kmx_io thodg
    Tags