summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-03-26 10:13:27 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-03-26 03:02:10 +0000
commit678528ed42e98bb3e71d0efc6768ff881d04728c (patch)
tree95e93ba0e4d257fa1b07185f0c510cc4093b8218 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente6b4c38f902ef2f93e1ac1418186cbd243f46b6b (diff)
Check permissions in INetworkManagementService#setIPv6AddrGenMode
This function was missing a permission check, and thus would allow any app to transitively call the netd setIPv6AddrGenMode IPC. Fortunately, due to a bug in that IPC, it can only set the mode to stable privacy and not to EUI-64. This code is unused. The only thing on the system that sets the IPv6 addrgen mode is the networkstack, but that does so by calling the netd IPC directly. Test: builds Bug: 141920289 Change-Id: Id54431e81dceaff09f785a280ceee0973543a30f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions