Skip to content

Commit 8e0c02f

Browse files
Al2Klimovpalmer-dabbelt
authored andcommitted
Replace HTTP links with HTTPS ones: RISC-V
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 <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent f2c9699 commit 8e0c02f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/riscv/include/uapi/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* GNU General Public License for more details.
1313
*
1414
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717

1818
#ifdef __LP64__

tools/arch/riscv/include/uapi/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* GNU General Public License for more details.
1313
*
1414
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717

1818
#ifdef __LP64__

0 commit comments

Comments
 (0)