Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1413410

Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init
Date 2016-06-03 21:00 +0200
Message-ID <rG2u5-6TX-5@gated-at.bofh.it> (permalink)
References <rG2kq-6QU-9@gated-at.bofh.it> <rG2kq-6QU-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jun 03, 2016 at 11:40:24AM -0700, Kees Cook wrote:
> Guided by grsecurity's analogous __read_only markings in arch/arm,
> this applies several uses of __ro_after_init to structures that are
> only updated during __init.
> 
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
>  arch/arm/kernel/cpuidle.c |  2 +-
>  arch/arm/kernel/setup.c   | 10 +++++-----
>  arch/arm/kernel/smp.c     |  2 +-
>  arch/arm/lib/delay.c      |  2 +-
>  arch/arm/mm/mmu.c         |  9 ++-------
>  arch/x86/mm/ioremap.c     |  3 +--

I don't think this x86 file is an arm-specific one :)

That minor nit aside, these patches are a great step forward, are you
going to take them and work to push them upstream, or do you want/need
others to do this?

thanks,

greg k-h

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] arm: apply more __ro_after_init Kees Cook <keescook@chromium.org> - 2016-06-03 20:50 +0200
  Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init Greg KH <gregkh@linuxfoundation.org> - 2016-06-03 21:00 +0200
    Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init Kees Cook <keescook@chromium.org> - 2016-06-03 23:30 +0200
      Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init Greg KH <gregkh@linuxfoundation.org> - 2016-06-04 00:00 +0200
        Re: [kernel-hardening] [PATCH 2/2] arm: apply more __ro_after_init Kees Cook <keescook@chromium.org> - 2016-06-04 00:10 +0200

csiph-web