mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
Replace HTTP links with HTTPS ones: drivers/iio
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 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>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
5a6b56de41
commit
3593cd5396
@@ -4,12 +4,12 @@
|
||||
*
|
||||
* Copyright (C) 2017 KUNBUS GmbH
|
||||
*
|
||||
* http://www.ti.com/lit/ds/symlink/dac082s085.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac102s085.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac122s085.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac084s085.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac104s085.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac124s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac082s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac102s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac122s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac084s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac104s085.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac124s085.pdf
|
||||
*/
|
||||
|
||||
#include <linux/iio/iio.h>
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
*
|
||||
* Copyright (C) 2018 Prevas A/S
|
||||
*
|
||||
* http://www.ti.com/lit/ds/symlink/dac5571.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac6571.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac7571.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac5574.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac6574.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac7574.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac5573.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac6573.pdf
|
||||
* http://www.ti.com/lit/ds/symlink/dac7573.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac5571.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac6571.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac7571.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac5574.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac6574.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac7574.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac5573.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac6573.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac7573.pdf
|
||||
*/
|
||||
|
||||
#include <linux/iio/iio.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (C) 2018 CMC NV
|
||||
*
|
||||
* http://www.ti.com/lit/ds/symlink/dac7311.pdf
|
||||
* https://www.ti.com/lit/ds/symlink/dac7311.pdf
|
||||
*/
|
||||
|
||||
#include <linux/iio/iio.h>
|
||||
|
||||
Reference in New Issue
Block a user