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

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

CRs-Fixed: 930937
Git-commit: 88ce639e7a0bba852f193b6f53b7ca1926a09b02
Bug: 25344453
Signed-off-by: default avatarAmarnath Hullur Subramanyam <amarnath@codeaurora.org>
parent 28829415
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