Re: [PATCH] tty: ldisc: add sysctl to prevent autoloading of ldiscs

From: Theodore Y. Ts'o
Date: Mon Jan 21 2019 - 19:01:53 EST


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>