• Borislav Petkov's avatar
    kernel/panic.c: add TAINT_AUX · 4efb442c
    Borislav Petkov authored
    This is the gist of a patch which we've been forward-porting in our
    kernels for a long time now and it probably would make a good sense to
    have such TAINT_AUX flag upstream which can be used by each distro etc,
    how they see fit.  This way, we won't need to forward-port a distro-only
    version indefinitely.
    
    Add an auxiliary taint flag to be used by distros and others.  This
    obviates the need to forward-port whatever internal solutions people
    have in favor of a single flag which they can map arbitrarily to a
    definition of their pleasing.
    
    The "X" mnemonic could also mean eXternal, which would be taint from a
    distro or something else but not the upstream kernel.  We will use it to
    mark modules for which we don't provide support.  I.e., a really
    eXternal module.
    
    Link: http://lkml.kernel.org/r/20170911134533.dp5mtyku5bongx4c@pd.tnicSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Jessica Yu <jeyu@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Jiri Slaby <jslaby@suse.cz>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Cc: Takashi Iwai <tiwai@suse.de>
    Cc: Petr Mladek <pmladek@suse.com>
    Cc: Jeff Mahoney <jeffm@suse.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    4efb442c
panic.c 17 KB