Re: [PATCH] tty: ldisc: add sysctl to prevent autoloading of ldiscs
From: Greg Kroah-Hartman
Date: Wed Jan 30 2019 - 03:29:03 EST
On Mon, Jan 21, 2019 at 07:01:42PM -0500, Theodore Y. Ts'o wrote:
> On Mon, Jan 21, 2019 at 05:26:42PM +0100, Greg Kroah-Hartman wrote:
> > By default, the kernel will automatically load the module of any line
> > dicipline that is asked for. As this sometimes isn't the safest thing
> > to do, provide a sysctl to disable this feature.
> >
> > By default, we set this to 'y' as that is the historical way that Linux
> > has worked, and we do not want to break working systems. But in the
> > future, perhaps this can default to 'n' to prevent this functionality.
> >
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> Reviewed-by: Theodore Ts'o <tytso@xxxxxxx>
Thanks for the review!