Re: design: was: Re: [RFC PATCH v2] printk: console: Allow each console to have its own loglevel
From: Chris Down
Date: Tue Jul 19 2022 - 08:31:37 EST
Chris Down writes:
Ok, I will incorporate the EINVAL return for sysctl in a separate
patch first, and then add the new sysfs one to the existing changes
for v3. :-)
Thinking more about this, I will probably not change the existing kernel.printk
semantics to return EINVAL, since it could silently(ish) cause regressions for
existing misconfigured systems on boot. I'll just add the clamps to the new
controls.