Automatically load TTY Line Disciplines

configname: CONFIG_LDISC_AUTOLOAD

Linux Kernel Configuration
└─>Device Drivers
└─>Character devices
└─>Automatically load TTY Line Disciplines
In linux kernel since version 3.18.2 (release Date: 2015-01-08)  
Historically the kernel has always automatically loaded any
line discipline that is in a kernel module when a user asks
for it to be loaded with the TIOCSETD ioctl, or through other
means. This is not always the best thing to do on systems
where you know you will not be using some of the more
"ancient" line disciplines, so prevent the kernel from doing
this unless the request is coming from a process with the
CAP_SYS_MODULE permissions.

Say 'Y' here if you trust your userspace users to do the right
thing, or if you have only provided the line disciplines that
you know you will be using, or if you wish to continue to use
the traditional method of on-demand loading of these modules
by any user.

This functionality can be changed at runtime with the
dev.tty.ldisc_autoload sysctl, this configuration option will
only set the default value of this functionality.

depends
CONFIG_TTY