aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJeff Brown <[email protected]>2011-04-13 06:29:38 +0000
committerDmitry Torokhov <[email protected]>2011-04-13 06:35:24 +0000
commit9fb0f14e31b6101a0cc69a333b43541044f9b0a6 (patch)
treea384acf387f5dff50e0c3a56fa54336dedd286c5 /security/selinux/hooks.c
parentInput: document event types and codes and their intended use (diff)
downloadkernel-9fb0f14e31b6101a0cc69a333b43541044f9b0a6.tar.gz
kernel-9fb0f14e31b6101a0cc69a333b43541044f9b0a6.zip
Input: evdev - indicate buffer overrun with SYN_DROPPED
Add a new EV_SYN code, SYN_DROPPED, to inform the client when input events have been dropped from the evdev input buffer due to a buffer overrun. The client should use this event as a hint to reset its state or ignore all following events until the next packet begins. Signed-off-by: Jeff Brown <[email protected]> [[email protected]: Implement Henrik's suggestion and drop old events in case of overflow.] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions