COMMAND
/dev/tcx0
SYSTEMS AFFECTED
SunOS 4.1.4
PROBLEM
Dixon Ly found following. If you try to read /dev/tcx0 on a
SunOS 4.1.4 Sparc 20 or Sparc 5 you will cause a system panic.
How do you read it, you ask? Simply "cat /dev/tcx0" or "ls
/dev/tcx0/*". You don't need special privileges to use it.
SOLUTION
These sorts of things are easily taken care of with /etc/fbtab on
SunOS4 and /etc/logindevperm on Solaris2. Any framebuffer,
keyboard, mouse, audio device, etc should have an entry here to
prevent these sorts of pranks.
Workaround:
1. Install tcx frame buffer.
2. Edit GENERIC file as below and create new kernel.
< device-driver tcx # 24-bit accelerated color frame buffer
---
> #device-driver tcx # 24-bit accelerated color frame buffer