Protecting the term from being abused by others using TIOCSLCKTRMIOS
Charlie Brej
plymouth at brej.org
Wed Mar 11 04:20:36 PDT 2009
I tried to locate which program was flipping ECHO etc during the boot but
eventually gave up. Trying to flock the tty didn't help either. Looks like
TIOCSLCKTRMIOS is the most sensible. Attached is a patch, which does this.
It quits if it cannot read/write the locks which might be unnecessary but hard
to see when that would happen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TIOCSLCKTRMIOS.patch
Type: text/x-patch
Size: 2070 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/plymouth/attachments/20090311/a42a5db8/attachment.bin
More information about the plymouth
mailing list