OSDN Git Service

ALSA: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 15:17:05 +0000 (17:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 19 Jul 2020 18:49:25 +0000 (20:49 +0200)
commit7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c
treed6314557a43ddf3cee2f472ed77c62c39c890d9a
parent71ea8eebdd4455a43a78b68fd2d106719735c211
ALSA: Replace HTTP links with HTTPS ones

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 <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200719151705.59624-1-grandmaster@al2klimov.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa-configuration.rst
Documentation/sound/cards/audigy-mixer.rst
Documentation/sound/cards/sb-live-mixer.rst
Documentation/sound/hd-audio/notes.rst
include/sound/hdmi-codec.h
include/sound/omap-hdmi-audio.h
sound/sparc/dbri.c
sound/usb/mixer_maps.c