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

Skip to content
Commit f185de2b authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan Committed by Saravana Kannan
Browse files

ANDROID: GKI: Revert "genetlink: disallow subscribing to unknown mcast groups"



Commit 5ad63005 ("genetlink: disallow subscribing to unknown
mcast groups") disallows userspace to subscribe to groups that don't
exist in kernel. As a result, communication between processes is
not possible unless they explicitly register a dummy group with the
kernel even if the communication is between userspace processes
only. NETLINK_USERSOCK cannot be used here since userspace processes
would require CAP_NET_ADMIN to receive multicast messages which
is available for priveleged processes only.

Fix this problem by reverting the change till a solution is
determined internally and upstream discussion.

Bug: 158311262
CRs-Fixed: 2086060
Change-Id: Id559d9ef9d1e0a25e3bbdc81503978f01c6ed85f
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>

(cherry-picked from commit 047570fa)
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: Id559d9ef9d1e0a25e3bbdc81503978f01c6ed85f
parent 2161be81
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