Skip to content
  • Luis R. Rodriguez's avatar
    kernel/module.c: use generic module param operaters for sig_enforce · 05f408dd
    Luis R. Rodriguez authored
    
    
    We're directly checking and modifying sig_enforce when needed instead
    of using the generic helpers. This prevents us from generalizing this
    helper so that others can use it. Use indirect helpers to allow us
    to generalize this code a bit and to make it a bit more clear what
    this is doing.
    
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: linux-kernel@vger.kernel.org
    Cc: cocci@systeme.lip6.fr
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    05f408dd