Re: [PATCH] mm: thp: Replace HTTP links with HTTPS ones

2020-07-16 Thread Andrew Morton
On Tue, 14 Jul 2020 11:41:37 +0200 Vlastimil Babka wrote: > > --- a/mm/huge_memory.c > > +++ b/mm/huge_memory.c > > @@ -2069,7 +2069,7 @@ static void __split_huge_pmd_locked(struct > > vm_area_struct *vma, pmd_t *pmd, > > * free), userland could trigger a small page size TLB miss on the >

Re: [PATCH] mm: thp: Replace HTTP links with HTTPS ones

2020-07-14 Thread Vlastimil Babka
On 7/13/20 6:43 PM, Alexander A. Klimov wrote: > 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

[PATCH] mm: thp: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
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|/)`: