lkml.org 
[lkml]   [2017]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 2/5] time: mark syscore_ops as __ro_after_init
    On Fri, Feb 10, 2017 at 5:37 PM, Jess Frazelle <me@jessfraz.com> wrote:
    > Marked syscore_ops structs as __ro_after_init when register_syscore_ops was
    > called only during init. Most of the caller functions were already annotated as
    > __init.
    > unregister_syscore_ops() was never called on these ops.
    > This protects the data structure from accidental corruption.
    >
    > Suggested-by: Kees Cook <keescook@chromium.org>
    > Signed-off-by: Jess Frazelle <me@jessfraz.com>
    > Acked-by: Rik van Riel <riel@redhat.com>

    Thanks for sending this out. Looks reasonable to me. I'll queue it for
    testing, targeting for 4.12.

    thanks
    -john

    \
     
     \ /
      Last update: 2017-02-11 03:13    [W:8.963 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site