14 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200708123613.14368-1-grandmaster@al2klimov.de
    Signed-off-by: Jonathan Corbet

    Alexander A. Klimov
     

13 Jul, 2020

1 commit


15 Jul, 2019

1 commit


12 Jul, 2019

1 commit

  • Pull HID updates from Jiri Kosina:

    - Documentation conversion to ReST, from Mauro Carvalho Chehab

    - Wacom MobileStudio Pro support, from Ping Cheng

    - Wacom 2nd Gen Intuos Pro Small support, from Aaron Armstrong Skomra

    - assorted small fixes and device ID additions

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
    HID: Add another Primax PIXART OEM mouse quirk
    HID: wacom: generic: add touchring adjustment for 2nd Gen Pro Small
    docs: hid: convert to ReST
    HID: remove NO_D3 flag when remove driver
    HID: wacom: add new MobileStudio Pro support
    HID: wacom: generic: read the number of expected touches on a per collection basis
    HID: wacom: generic: support the 'report valid' usage for touch
    HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
    HID: wacom: Add 2nd gen Intuos Pro Small support
    HID: uclogic: Add support for Ugee Rainbow CV720
    HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices
    HID: logitech-hidpp: HID: make const array consumer_rdesc_start static
    HID: logitech-dj: make const array template static
    HID: wacom: correct touch resolution x/y typo
    HID: wacom: generic: Correct pad syncing
    HID: wacom: generic: only switch the mode on devices with LEDs
    HID: logitech-dj: Add usb-id for the 27MHz MX3000 receiver

    Linus Torvalds
     

02 Jul, 2019

1 commit

  • Rename the HID documentation files to ReST, add an
    index for them and adjust in order to produce a nice html
    output via the Sphinx build system.

    While here, fix the sysfs example from hid-sensor.txt, that
    has a lot of "?" instead of the proper UTF-8 characters that
    are produced by the tree command.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Benjamin Tissoires
    Signed-off-by: Benjamin Tissoires

    Mauro Carvalho Chehab
     

21 Jun, 2019

1 commit

  • Since strlcpy is deprecated, the documentation shouldn't suggest using
    it. This patch fixes the examples to use strscpy instead. It also uses
    sizeof instead of underlying constants as far as possible, to simplify
    future changes to the corresponding data structures.

    Signed-off-by: Stephen Kitt
    Acked-by: Kees Cook
    Acked-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Stephen Kitt
     

18 Dec, 2018

1 commit


13 Oct, 2017

1 commit


14 Mar, 2017

1 commit


17 Aug, 2016

1 commit


18 Jun, 2016

1 commit


11 Apr, 2015

1 commit


25 Aug, 2014

1 commit


04 Jun, 2014

1 commit

  • Pull trivial tree changes from Jiri Kosina:
    "Usual pile of patches from trivial tree that make the world go round"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    staging: go7007: remove reference to CONFIG_KMOD
    aic7xxx: Remove obsolete preprocessor define
    of: dma: doc fixes
    doc: fix incorrect formula to calculate CommitLimit value
    doc: Note need of bc in the kernel build from 3.10 onwards
    mm: Fix printk typo in dmapool.c
    modpost: Fix comment typo "Modules.symvers"
    Kconfig.debug: Grammar s/addition/additional/
    wimax: Spelling s/than/that/, wording s/destinatary/recipient/
    aic7xxx: Spelling s/termnation/termination/
    arm64: mm: Remove superfluous "the" in comment
    of: Spelling s/anonymouns/anonymous/
    dma: imx-sdma: Spelling s/determnine/determine/
    ath10k: Improve grammar in comments
    ath6kl: Spelling s/determnine/determine/
    of: Improve grammar for of_alias_get_id() documentation
    drm/exynos: Spelling s/contro/control/
    radio-bcm2048.c: fix wrong overflow check
    doc: printk-formats: do not mention casts for u64/s64
    doc: spelling error changes
    ...

    Linus Torvalds
     

05 May, 2014

1 commit


02 Apr, 2014

1 commit

  • UHID_CREATE2:
    HID report descriptor data (rd_data) is an array in struct uhid_create2_req,
    instead of a pointer. Enables use from languages that don't support pointers,
    e.g. Python.

    UHID_INPUT2:
    Data array is the last field of struct uhid_input2_req. Enables userspace to
    write only the required bytes to kernel (ev.type + ev.u.input2.size + the part
    of the data array that matters), instead of the entire struct uhid_input2_req.

    Note:
    UHID_CREATE2 increases the total size of struct uhid_event slightly, thus
    increasing the size of messages that are queued for userspace. However, this
    won't affect the userspace processing of these events.

    [Jiri Kosina : adjust to hid_get_raw_report() and
    hid_output_raw_report() API changes]

    Signed-off-by: Petri Gynther
    Reviewed-by: David Herrmann
    Signed-off-by: Jiri Kosina

    Petri Gynther
     

25 Feb, 2014

1 commit

  • SET_REPORT and GET_REPORT are mandatory in the HID specification.
    Make the corresponding API in hid-core mandatory too, which removes the
    need to test against it in some various places.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: David Herrmann
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

17 Feb, 2014

1 commit


31 Jul, 2013

1 commit

  • HID core provides the same functionality and can convert the input event
    to a raw output report. We can thus drop UHID_OUTPUT_EV and rely on the
    mandatory UHID_OUTPUT.

    User-space wasn't able to do anything with UHID_OUTPUT_EV, anyway. They
    don't have access to the report fields.

    Signed-off-by: David Herrmann
    Acked-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    David Herrmann
     

14 Dec, 2012

1 commit


19 Nov, 2012

1 commit


07 Sep, 2012

1 commit


18 Jun, 2012

1 commit

  • This describes the protocol used by uhid for user-space applications. It
    describes the details like non-blocking I/O and readv/writev for multiple
    events per syscall.

    Signed-off-by: David Herrmann
    Signed-off-by: Jiri Kosina

    David Herrmann
     

22 Mar, 2011

2 commits