From 912762858754de681e1f745d197a4d69828b4338 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 12 Dec 2017 10:21:17 +0530 Subject: [PATCH] Prepare for release v1.6 --- CHANGELOG | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 11 +++++----- keysniffer.c | 2 +- 3 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 CHANGELOG diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..4e62c8f --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,57 @@ +keysniffer v1.6 +2017-12-12 + +What's in? +- DKMS support +- Prepend Left (`L`) or Right (`R`) for Ctrl, Shift and Alt keys +- Replace `_ENTER_` with `\n` +- Append newline to keycodes (for param codes=1/2) +- Add targets install, load, unload, uninstall to Makefile + +------------------------------------------------------------------------------- + +keysniffer v1.5 +2017-03-28 + +Modifications +- Add module param `codes` to support hex and decimal keycodes in output + +------------------------------------------------------------------------------- + +keysniffer v1.4 +2016-10-03 + +Modifications +- Coding style and readability improvements + +------------------------------------------------------------------------------- + +keysniffer v1.2 +2015-10-30 + +Modifications +- Added version information to module +- Better module description +- Changed the source file name to project name +- Fixed license issues, make GPL v2 (thanks @gregkh) +- Added output example to README.txt + +------------------------------------------------------------------------------- + +keysniffer v1.1 +2015-10-12 + +Modifications +- Using a 16KB buffer to log keys in debugfs +- Using stricter permissions for debugfs log file (readable only by root) + +------------------------------------------------------------------------------- + +keysniffer v1.0 +2015-10-11 + +Modifications +- Implement US keyboard grab support +- Share the keypress log via debugfs + +------------------------------------------------------------------------------- diff --git a/README.md b/README.md index af0684b..e95f085 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,8 @@ To view the pressed keys, run: ``` # cat /sys/kernel/debug/kisni/keys modinfo kisni.ko -sudo cat /sys/kernel/debug/kisni/keys +cat /sys/kernel/debug/kisni/keys +# ``` To log generic hex keycodes in the format `keycode shift_mask`, run: @@ -106,14 +107,14 @@ To check the module details: ``` # modinfo kisni.ko -filename: /home/vaio/GitHub/keysniffer/kisni.ko +filename: kisni.ko description: Sniff and log keys pressed in the system to debugfs -version: 1.4 +version: 1.6 author: Arun Prakash Jana license: GPL v2 -srcversion: 08CA52B5D5B14E4B1C5BEB1 +srcversion: 40AA880EE5017590B293170 depends: -vermagic: 4.4.0-98-generic SMP mod_unload modversions +vermagic: 4.4.0-103-generic SMP mod_unload modversions parm: codes:log format (0:US keys (default), 1:hex keycodes, 2:dec keycodes) (int) ``` diff --git a/keysniffer.c b/keysniffer.c index eefbba7..93bc804 100644 --- a/keysniffer.c +++ b/keysniffer.c @@ -32,7 +32,7 @@ #define HEX 1 /* Type code for hexadecimal log */ #define DEC 2 /* Type code for decimal log */ -#define KEYSNIFFER_VERSION "1.4" +#define KEYSNIFFER_VERSION "1.6" static int codes; /* Log type module parameter */