LWN.net's Journal
 
[Most Recent Entries] [Calendar View]

Friday, May 6th, 2016

    Time Event
    12:05a
    Hutterer: The difference between uinput and evdev
    On his blog, Peter Hutterer answers an oft-asked question:
    "A recurring question I encounter is the question whether uinput or evdev should be the approach [to] implement some feature the user cares about. This question is unfortunately wrongly framed as uinput and evdev have no real overlap and work independent of each other. This post outlines what the differences are. Note that "evdev" here refers to the kernel API, not to the X.Org evdev driver.

    First, the easy flowchart: do you have to create a new virtual device that has a set of specific capabilities? Use uinput. Do you have to read and handle events from an existing device? Use evdev. Do you have to create a device and read events from that device? You (probably) need two processes, one doing the uinput bit, one doing the evdev bit.
    "
    3:38p
    Friday's security updates

    Arch Linux has updated chromium (multiple vulnerabilities), imagemagick (code execution), and quassel-core (denial of service).

    Debian has updated mercurial (code execution) and openafs (multiple vulnerabilities).

    Debian-LTS has updated mplayer2 (code execution).

    Fedora has updated firefox (F23: ) and libreoffice (F23: information leak).

    Mageia has updated ansible (M5: code execution), jenkins-remoting (M5: code execution), owncloud (M5: undisclosed vulnerabilities), quagga (M5: denial of service), quassel (M5: denial of service), and xstream (M5: enabled processing of external entities).

    openSUSE has updated firefox (13.1: multiple vulnerabilities), libopenssl0_9_8 (13.2, Leap 42.1: multiple vulnerabilities), and openssl (Leap 42.1: multiple vulnerabilities).

    Oracle has updated kernel 3.8.13 (O7; O6: denial of service), kernel 2.6.39 (O5; O6: denial of service), kernel 2.6.32 (O6; O5: denial of service), and kernel 4.1.12 (O7; O6: denial of service).

    SUSE has updated java-1_7_0-openjdk (SLE12: multiple vulnerabilities), java-1_8_0-openjdk (SLE12: multiple vulnerabilities), and ntp (SLE12: multiple vulnerabilities).

    10:18p
    Klumpp: Adventures in D programming

    At his blog, Matthias Klumpp reflects on his experience writing the asgen tool for AppStream metadata generation using, of all things, the D programming language. "I started to implement the same examples in D just for fun, as I didn’t plan to use D (I was aiming at Go back then), but the language looked interesting. The D language had the huge advantage of being very familiar to me as a C/C++ programmer, while also having a rich standard library, which included great stuff like std.concurrency.Generator, std.parallelism, etc." What follows is a "huge braindump of things" Klumpp found enjoyable, including built-in unit-test support, safe functions, scope blocks, and documentation generation. After that, however, comes Klumpp's list of complaints—starting with the proprietary reference compiler and the not-quite-complete free-software compilers.

    << Previous Day 2016/05/06
    [Calendar]
    Next Day >>

LWN.net   About LJ.Rossia.org