FPII-1871:CR:930837-Improper access control on WLAN_FTM_PRIV_SET_CHAR_GET_NONE (SIOCIWFIRSTPRIV + 3)

Kernel assumes all SET IOCTL commands are assigned with even
 numbers. But in our WLAN driver, some SET IOCTLS are assigned with
 odd numbers. This leads kernel fail to check, for some SET IOCTLs,
 whether user has the right permission to do SET operation. Hence,
 in driver, before processing WLAN_FTM_PRIV_SET_CHAR_GET_NONE,
 making sure user task has right permission to process the command.

Change-Id: I4a48998c49caaa1cda5f12951e5942cbc8e0d341
CRs-Fixed: 930837
1 file changed
tree: c89526d268e6c73ee2e8d5cceed7bf52061a9a41
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile