fs/unicode patches for v5.9
This includes 3 patches for the unicode system for inclusion into
Linux v5.9:
- A patch by Ricardo CaƱuelo converting the unicode tests to kunit.
- A patch from Gabriel exporting in sysfs the most recent utf-8
version available.
- A patch from Gabriel fixing the build of the kunit part as a module.
- A patch from Alexander updating documentation web links.
unicode: 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>
[fix summary line]
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
2 files changed