Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 01:54 PM, Jan Beulich wrote: On 26.02.18 at 11:47, wrote: > >> >> On 02/26/2018 01:08 PM, Jan Beulich wrote: >> On 26.02.18 at 11:00, wrote: On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: > @@ -351,7

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 01:54 PM, Jan Beulich wrote: On 26.02.18 at 11:47, wrote: > >> >> On 02/26/2018 01:08 PM, Jan Beulich wrote: >> On 26.02.18 at 11:00, wrote: On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: > @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Jan Beulich
>>> On 26.02.18 at 11:47, wrote: > > On 02/26/2018 01:08 PM, Jan Beulich wrote: > On 26.02.18 at 11:00, wrote: >>> On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Jan Beulich
>>> On 26.02.18 at 11:47, wrote: > > On 02/26/2018 01:08 PM, Jan Beulich wrote: > On 26.02.18 at 11:00, wrote: >>> On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct seq_file *m, > struct pg_state *st,

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 01:08 PM, Jan Beulich wrote: On 26.02.18 at 11:00, wrote: >> On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: >>> @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct seq_file *m, >>> struct pg_state *st, >>>

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 01:08 PM, Jan Beulich wrote: On 26.02.18 at 11:00, wrote: >> On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: >>> @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct seq_file *m, >>> struct pg_state *st, >>> (pgtable_l5_enabled && __pa(pt) ==

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Jan Beulich
>>> On 26.02.18 at 11:00, wrote: > On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: >> @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct seq_file *m, >> struct pg_state *st, >> (pgtable_l5_enabled && __pa(pt) == __pa(kasan_zero_p4d)) || >>

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Jan Beulich
>>> On 26.02.18 at 11:00, wrote: > On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: >> @@ -351,7 +362,7 @@ static inline bool kasan_page_table(struct seq_file *m, >> struct pg_state *st, >> (pgtable_l5_enabled && __pa(pt) == __pa(kasan_zero_p4d)) || >> __pa(pt) ==

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: > static void note_page(struct seq_file *m, struct pg_state *st, > - pgprot_t new_prot, int level) > + pgprot_t new_prot, pgprotval_t new_eff, int level) > { > - pgprotval_t prot, cur; > +

Re: [tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread Andrey Ryabinin
On 02/26/2018 11:48 AM, tip-bot for Jan Beulich wrote: > static void note_page(struct seq_file *m, struct pg_state *st, > - pgprot_t new_prot, int level) > + pgprot_t new_prot, pgprotval_t new_eff, int level) > { > - pgprotval_t prot, cur; > +

[tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread tip-bot for Jan Beulich
Commit-ID: 672c0ae09b33a11d8f31fc61526632e96301164c Gitweb: https://git.kernel.org/tip/672c0ae09b33a11d8f31fc61526632e96301164c Author: Jan Beulich AuthorDate: Fri, 23 Feb 2018 01:27:37 -0700 Committer: Ingo Molnar CommitDate: Mon, 26 Feb 2018

[tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-26 Thread tip-bot for Jan Beulich
Commit-ID: 672c0ae09b33a11d8f31fc61526632e96301164c Gitweb: https://git.kernel.org/tip/672c0ae09b33a11d8f31fc61526632e96301164c Author: Jan Beulich AuthorDate: Fri, 23 Feb 2018 01:27:37 -0700 Committer: Ingo Molnar CommitDate: Mon, 26 Feb 2018 08:43:21 +0100 x86/mm: Consider effective

[tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-23 Thread tip-bot for Jan Beulich
Commit-ID: 6e558c9d10146ebe7f04917af2f8533b811f9c25 Gitweb: https://git.kernel.org/tip/6e558c9d10146ebe7f04917af2f8533b811f9c25 Author: Jan Beulich AuthorDate: Fri, 23 Feb 2018 01:27:37 -0700 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018

[tip:x86/mm] x86/mm: Consider effective protection attributes in W+X check

2018-02-23 Thread tip-bot for Jan Beulich
Commit-ID: 6e558c9d10146ebe7f04917af2f8533b811f9c25 Gitweb: https://git.kernel.org/tip/6e558c9d10146ebe7f04917af2f8533b811f9c25 Author: Jan Beulich AuthorDate: Fri, 23 Feb 2018 01:27:37 -0700 Committer: Ingo Molnar CommitDate: Fri, 23 Feb 2018 09:51:38 +0100 x86/mm: Consider effective