• 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 www_kmx_io thodg thodg_l
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)