Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 82ea58d6 authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

net: qrtr: Allow control port access to AID_VENDOR_QRTR



Only allow processes to bind to the control port if they are in the
AID_VENDOR_QRTR group or have NET_ADMIN capabilities. This GID is
reserved for QRTR control applications only.

Remove NET_BIND_SERVICE check from netlink socket callback. This is a
redundant check since NET_ADMIN is a more priveleged capability.

Change-Id: I70961418314c391017709cab6408e5c58cf6d848
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 90722ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment