Re: [PATCH] Replace HTTP links with HTTPS ones: BPF (Safe dynamic programs and tools)

2020-07-02 Thread Alexander A. Klimov
Am 03.07.20 um 00:08 schrieb Alexei Starovoitov: On Thu, Jul 2, 2020 at 1:05 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:

Re: [PATCH] Replace HTTP links with HTTPS ones: BPF (Safe dynamic programs and tools)

2020-07-02 Thread Alexei Starovoitov
On Thu, Jul 2, 2020 at 1:05 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 contai

[PATCH] Replace HTTP links with HTTPS ones: BPF (Safe dynamic programs and tools)

2020-07-02 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|/)`: