From: Henrique de Moraes Holschuh Date: Mon, 23 Jun 2008 20:23:07 +0000 (-0300) Subject: rfkill: do not allow userspace to override ALL RADIOS OFF X-Git-Tag: v2.6.27-rc1~969^2~254^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4081f00dc45abce6bdac352a6354c07ce15db45b;p=pandora-kernel.git 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 Acked-by: Ivo van Doorn Cc: Dmitry Torokhov Signed-off-by: John W. Linville --- Reading git-diff-tree failed