Skip to content
Snippets Groups Projects
Commit 28829415 authored by Amarnath Hullur Subramanyam's avatar Amarnath Hullur Subramanyam Committed by Vineeta Srivastava
Browse files

wlan:Check priviledge permission before processing SET_CHAR_GET_NONE 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_CHAR_GET_NONE IOCTLs, making
sure user task has right permission to process the command.

CRs-Fixed: 930935
Git-commit: 0e53a89bfe0dbb50e0dde9a6960d274386247cd9
Bug: 25344453
Signed-off-by: default avatarAmarnath Hullur Subramanyam <amarnath@codeaurora.org>
parent d4b451bd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment