mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 05:39:42 -04:00
staging: comedi: pcm: 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/20200721193806.68010-1-grandmaster@al2klimov.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a5fc6f6d39
commit
e3913b6e06
@@ -222,6 +222,6 @@ static struct comedi_driver pcm3724_driver = {
|
||||
};
|
||||
module_comedi_driver(pcm3724_driver);
|
||||
|
||||
MODULE_AUTHOR("Comedi http://www.comedi.org");
|
||||
MODULE_AUTHOR("Comedi https://www.comedi.org");
|
||||
MODULE_DESCRIPTION("Comedi driver for Advantech PCM-3724 Digital I/O board");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -144,6 +144,6 @@ static struct comedi_driver pcmad_driver = {
|
||||
};
|
||||
module_comedi_driver(pcmad_driver);
|
||||
|
||||
MODULE_AUTHOR("Comedi http://www.comedi.org");
|
||||
MODULE_AUTHOR("Comedi https://www.comedi.org");
|
||||
MODULE_DESCRIPTION("Comedi low-level driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -160,6 +160,6 @@ static struct comedi_driver pcmda12_driver = {
|
||||
};
|
||||
module_comedi_driver(pcmda12_driver);
|
||||
|
||||
MODULE_AUTHOR("Comedi http://www.comedi.org");
|
||||
MODULE_AUTHOR("Comedi https://www.comedi.org");
|
||||
MODULE_DESCRIPTION("Comedi low-level driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -772,6 +772,6 @@ static struct comedi_driver pcmmio_driver = {
|
||||
};
|
||||
module_comedi_driver(pcmmio_driver);
|
||||
|
||||
MODULE_AUTHOR("Comedi http://www.comedi.org");
|
||||
MODULE_AUTHOR("Comedi https://www.comedi.org");
|
||||
MODULE_DESCRIPTION("Comedi driver for Winsystems PCM-MIO PC/104 board");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -619,6 +619,6 @@ static struct comedi_driver pcmuio_driver = {
|
||||
};
|
||||
module_comedi_driver(pcmuio_driver);
|
||||
|
||||
MODULE_AUTHOR("Comedi http://www.comedi.org");
|
||||
MODULE_AUTHOR("Comedi https://www.comedi.org");
|
||||
MODULE_DESCRIPTION("Comedi low-level driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
Reference in New Issue
Block a user