lkml.org 
[lkml]   [2020]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Replace HTTP links with HTTPS ones: BFQ I/O scheduler
Date
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>
---
Continuing my work started at 93431e0607e5.

If there are any URLs to be removed completely or at least not HTTPSified:
Just clearly say so and I'll *undo my change*.
See also https://lkml.org/lkml/2020/6/27/64

If there are any valid, but yet not changed URLs:
See https://lkml.org/lkml/2020/6/26/837

Documentation/block/bfq-iosched.rst | 4 ++--
block/bfq-iosched.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/block/bfq-iosched.rst b/Documentation/block/bfq-iosched.rst
index 0d237d402860..eb025b942f8d 100644
--- a/Documentation/block/bfq-iosched.rst
+++ b/Documentation/block/bfq-iosched.rst
@@ -581,7 +581,7 @@ applications. Unset this tunable if you need/want to control weights.
Scheduler", Proceedings of the First Workshop on Mobile System
Technologies (MST-2015), May 2015.

- http://algogroup.unimore.it/people/paolo/disk_sched/mst-2015.pdf
+ https://algogroup.unimore.it/people/paolo/disk_sched/mst-2015.pdf

[2]
P. Valente and M. Andreolini, "Improving Application
@@ -591,7 +591,7 @@ applications. Unset this tunable if you need/want to control weights.

Slightly extended version:

- http://algogroup.unimore.it/people/paolo/disk_sched/bfq-v1-suite-results.pdf
+ https://algogroup.unimore.it/people/paolo/disk_sched/bfq-v1-suite-results.pdf

[3]
https://github.com/Algodev-github/S
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 50c8f034c01c..409865aaed68 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -99,19 +99,19 @@
* [1] P. Valente, A. Avanzini, "Evolution of the BFQ Storage I/O
* Scheduler", Proceedings of the First Workshop on Mobile System
* Technologies (MST-2015), May 2015.
- * http://algogroup.unimore.it/people/paolo/disk_sched/mst-2015.pdf
+ * https://algogroup.unimore.it/people/paolo/disk_sched/mst-2015.pdf
*
* [2] Jon C.R. Bennett and H. Zhang, "Hierarchical Packet Fair Queueing
* Algorithms", IEEE/ACM Transactions on Networking, 5(5):675-689,
* Oct 1997.
*
- * http://www.cs.cmu.edu/~hzhang/papers/TON-97-Oct.ps.gz
+ * https://www.cs.cmu.edu/~hzhang/papers/TON-97-Oct.ps.gz
*
* [3] I. Stoica and H. Abdel-Wahab, "Earliest Eligible Virtual Deadline
* First: A Flexible and Accurate Mechanism for Proportional Share
* Resource Allocation", technical report.
*
- * http://www.cs.berkeley.edu/~istoica/papers/eevdf-tr-95.pdf
+ * https://www.cs.berkeley.edu/~istoica/papers/eevdf-tr-95.pdf
*/
#include <linux/module.h>
#include <linux/slab.h>
--
2.27.0
\
 
 \ /
  Last update: 2020-06-30 20:36    [W:0.026 / U:6.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site