[lfs] 02/02: Set kernel config to unset LEGACY_TIOCSTI

git Owner ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

commit 34cca7cb707497879236c9cc68df2eec7d80b055
Author: Bruce Dubbs <[email protected]>
AuthorDate: Fri Aug 14 12:58:51 2026 -0500

    Set kernel config to unset LEGACY_TIOCSTI
    
    The alternate way to unset TIOCSTI is to
    set /proc/sys/dev/tty/legacy_tiocsti to 0
    from the command line.
---
 chapter10/kernel/systemd.toml | 1 +
 chapter10/kernel/systemd.xml  | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/chapter10/kernel/systemd.toml b/chapter10/kernel/systemd.toml
index 565eeb49d..dd0bfab4b 100644
--- a/chapter10/kernel/systemd.toml
+++ b/chapter10/kernel/systemd.toml
@@ -29,6 +29,7 @@ INOTIFY_USER='*'
 TMPFS='*'
 TMPFS_POSIX_ACL='*'
 CGROUP_SCHED='* '
+LEGACY_TIOCSTI=' '
 
 revision='systemd'
 
diff --git a/chapter10/kernel/systemd.xml b/chapter10/kernel/systemd.xml
index 924dbb5a1..fc104db98 100644
--- a/chapter10/kernel/systemd.xml
+++ b/chapter10/kernel/systemd.xml
@@ -35,12 +35,17 @@
     [ ] <emphasis role='blue'>S</emphasis>upport for uevent helper                                [UEVENT_HELPER]
     [*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev               [DEVTMPFS]
     [*]   <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
-                                                           ...  [DEVTMPFS_MOUNT]
     <emphasis role='blue'>F</emphasis>irmware loader ---&gt;
       [ ] <emphasis role='blue'>E</emphasis>nable the firmware sysfs fallback mechanism   [FW_LOADER_USER_HELPER]
+
   <emphasis role='blue'>F</emphasis>irmware Drivers ---&gt;
     [*] <emphasis role='blue'>E</emphasis>xport DMI identification via sysfs to userspace                 [DMIID]
     [*] M<emphasis role='blue'>a</emphasis>rk VGA/VBE/EFI FB as generic system framebuffer       [SYSFB_SIMPLEFB]
+                                                           ...  [DEVTMPFS_MOUNT]
+  <emphasis role='blue'>C</emphasis>haracter devices ---&gt;
+    [Y] <emphasis role='blue'>E</emphasis>nable TTY ---&gt;                                                    [TTY]
+      [ ] <emphasis role='blue'>A</emphasis>llow legacy TIOCSTI usage                            [LEGACY_TIOCSTI]
+
   <emphasis role='blue'>G</emphasis>raphics support ---&gt;
     &lt;*&gt;    <emphasis role='blue'>D</emphasis>irect Rendering Manager (XFree86 4.1.0 and higher DRI support) ---&gt;
                                                                       ...  [DRM]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.