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>
This commit is contained in:

committed by
Takashi Iwai

parent
71ea8eebdd
commit
7ed33ea6b4
@@ -233,7 +233,7 @@ static const struct usbmix_name_map maya44_map[] = {
|
||||
};
|
||||
|
||||
/* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk>
|
||||
* sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK
|
||||
* sourced from Maplin Electronics (https://www.maplin.co.uk), part number A56AK
|
||||
* Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.)
|
||||
* The USB Mixer publishes a Microphone and extra Volume controls for it, but none exist on the device,
|
||||
* so this map removes all unwanted sliders from alsamixer
|
||||
|
Reference in New Issue
Block a user