FPII-1869:CR:930549-Improper access control on WLAN_PRIV_SET_OEM_DATA_REQ (SIOCIWFIRSTPRIV + 17)

wlan:Check priviledge permission before processing SET_OEM_DATA_REQ IOCTL

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 SET_OEM_DATA_REQ IOCTLs, making
sure user task has right permission to process the command.

Change-Id: Ida0133304b00627d01ef7f85f5b15ed9d404d443
CRs-Fixed: 930549
Git-commit: 6feb2faf80a05940618aa2eef2b62e4e2e54f148
1 file changed
tree: adabda89f5725ad51ec7cc05a85e8bc70cff79a6
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile