]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] wext: Fix RtNetlink ENCODE security permissions
authorJean Tourrilhes <jt@hpl.hp.com>
Fri, 14 Apr 2006 17:47:26 +0000 (10:47 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Apr 2006 21:25:41 +0000 (17:25 -0400)
commit095189b34ea5776a87835f16f65419694539d0a3
tree3db10d298e8c4cfe005b719552ac378685ab5c1a
parent7b538baf18ad09c69844fe08f32727d1fe2e707a
[PATCH] wext: Fix RtNetlink ENCODE security permissions

I've just realised that the RtNetlink code does not check the
permission for SIOCGIWENCODE and SIOCGIWENCODEEXT, which means that
any user can read the encryption keys. The fix is trivial and should
go in 2.6.17 alonside the two other patch I sent you last week.

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/core/wireless.c