Re: [kernel-hardening] [RFC 2/7] init: add set_ro_mostly_after_init_rw/ro function

2017-02-20 Thread Ho-Eun Ryu
> On 20 Feb 2017, at 7:22 PM, Mark Rutland wrote: > > On Sun, Feb 19, 2017 at 07:04:05PM +0900, Hoeun Ryu wrote: >> Add set_ro_mostly_after_init_rw/ro pair to modify memory attributes for >> memory marked as `ro_mostly_after_init`. >> >> I am doubtful that this is the

Re: [kernel-hardening] [RFC 2/7] init: add set_ro_mostly_after_init_rw/ro function

2017-02-20 Thread Ho-Eun Ryu
> On 20 Feb 2017, at 7:22 PM, Mark Rutland wrote: > > On Sun, Feb 19, 2017 at 07:04:05PM +0900, Hoeun Ryu wrote: >> Add set_ro_mostly_after_init_rw/ro pair to modify memory attributes for >> memory marked as `ro_mostly_after_init`. >> >> I am doubtful that this is the right place where these

Re: [kernel-hardening] [RFC 2/7] init: add set_ro_mostly_after_init_rw/ro function

2017-02-20 Thread Mark Rutland
On Sun, Feb 19, 2017 at 07:04:05PM +0900, Hoeun Ryu wrote: > Add set_ro_mostly_after_init_rw/ro pair to modify memory attributes for > memory marked as `ro_mostly_after_init`. > > I am doubtful that this is the right place where these functions reside and > these functions are suitable for all

Re: [kernel-hardening] [RFC 2/7] init: add set_ro_mostly_after_init_rw/ro function

2017-02-20 Thread Mark Rutland
On Sun, Feb 19, 2017 at 07:04:05PM +0900, Hoeun Ryu wrote: > Add set_ro_mostly_after_init_rw/ro pair to modify memory attributes for > memory marked as `ro_mostly_after_init`. > > I am doubtful that this is the right place where these functions reside and > these functions are suitable for all