diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-06-23 22:23:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-26 20:21:22 +0200 |
commit | 4081f00dc45abce6bdac352a6354c07ce15db45b (patch) | |
tree | 5c1c239eb0e0cfdedf9fdfd0d82bf36c03bfdd99 /kernel/rtmutex.c | |
parent | rfkill: drop current_state from tasks in rfkill-input (diff) | |
download | linux-4081f00dc45abce6bdac352a6354c07ce15db45b.tar.xz linux-4081f00dc45abce6bdac352a6354c07ce15db45b.zip |
rfkill: do not allow userspace to override ALL RADIOS OFF
SW_RFKILL_ALL is the "emergency power-off all radios" input event. It must
be handled, and must always do the same thing as far as the rfkill system
is concerned: all transmitters are to go *immediately* offline.
For safety, do NOT allow userspace to override EV_SW SW_RFKILL_ALL OFF. As
long as rfkill-input is loaded, that event will *always* be processed, and
it will *always* force all rfkill switches to disable all wireless
transmitters, regardless of user_claim attribute or anything else.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions