• Greg Edwards's avatar
    audit: do not panic on invalid boot parameter · 11dd2666
    Greg Edwards authored
    If you pass in an invalid audit boot parameter value, e.g. "audit=off",
    the kernel panics very early in boot before the regular console is
    initialized.  Unless you have earlyprintk enabled, there is no
    indication of what the problem is on the console.
    
    Convert the panic() calls to pr_err(), and leave auditing enabled if an
    invalid parameter value was passed in.
    
    Modify the parameter to also accept "on" or "off" as valid values, and
    update the documentation accordingly.
    Signed-off-by: default avatarGreg Edwards <gedwards@ddn.com>
    Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
    11dd2666
kernel-parameters.txt 163 KB