busybox/console-tools
Denys Vlasenko 32b60cc0db kbd_mode: try harder to find console device if -C TTY is not given
Was (under X):
	$ ./busybox_old kbd_mode
	kbd_mode: ioctl 0x4b44 failed: Inappropriate ioctl for device
Now:
	$ ./busybox kbd_mode
	The keyboard is in off mode

function                                             old     new   delta
kbd_mode_main                                        166     174      +8
packed_usage                                       31782   31764     -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 8/-18)             Total: -10 bytes
   text	   data	    bss	    dec	    hex	filename
 915757	    485	   6880	 923122	  e15f2	busybox_old
 915747	    485	   6880	 923112	  e15e8	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-06 12:17:46 +02:00
..
chvt.c chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC 2017-08-05 02:02:31 +02:00
clear.c new NOFORKs: clear, nproc, tty, uname, arch, unlink, which 2017-08-03 03:29:32 +02:00
Config.src Convert all console-tools/* applets to "new style" applet definitions 2016-11-23 10:39:27 +01:00
deallocvt.c chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC 2017-08-05 02:02:31 +02:00
dumpkmap.c chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC 2017-08-05 02:02:31 +02:00
fgconsole.c chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC 2017-08-05 02:02:31 +02:00
kbd_mode.c kbd_mode: try harder to find console device if -C TTY is not given 2017-08-06 12:17:46 +02:00
Kbuild.src Convert all console-tools/* applets to "new style" applet definitions 2016-11-23 10:39:27 +01:00
loadfont.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
loadkmap.c chvt, deallocvt, dumpkmap, fgconsole, loadkmap: make them NOEXEC 2017-08-05 02:02:31 +02:00
openvt.c libbb: use _exit, not exit, in bb_daemonize_or_rexec() 2017-08-04 23:04:17 +02:00
reset.c make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec 2017-08-04 19:55:01 +02:00
resize.c new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize 2017-08-03 19:03:32 +02:00
setconsole.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
setkeycodes.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
setlogcons.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
showkey.c config: deindent all help texts 2017-07-21 09:50:55 +02:00