Skip to content

Commit

Permalink
ARM: OMAP2+: Replace HTTP links with HTTPS ones
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
  • Loading branch information
Al2Klimov authored and tmlind committed Aug 19, 2020
1 parent 3aa36fd commit 88ca7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/clockdomains33xx_data.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* AM33XX Clock Domain data.
*
* Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
* Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/
* Vaibhav Hiremath <[email protected]>
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/clockdomains81xx_data.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* TI81XX Clock Domain data.
*
* Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
* Copyright (C) 2010 Texas Instruments, Inc. - https://www.ti.com/
* Copyright (C) 2013 SKTB SKiT, http://www.skitlab.ru/
*
* This program is free software; you can redistribute it and/or
Expand Down

0 comments on commit 88ca7bf

Please sign in to comment.