summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-01-04 12:27:27 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-01-06 11:22:16 +0900
commit66deecd38f88e4e7944ed5841e10051ef5f0b7d6 (patch)
treeab6193bf151756a59faa9b69819753e1f1770833 /Android.bp
parent72f770c4ad644ad49371531ac030196eff32076b (diff)
downloadplatform_external_android-clat-66deecd38f88e4e7944ed5841e10051ef5f0b7d6.tar.gz
platform_external_android-clat-66deecd38f88e4e7944ed5841e10051ef5f0b7d6.tar.bz2
platform_external_android-clat-66deecd38f88e4e7944ed5841e10051ef5f0b7d6.zip
Drop support for updating IPv6 addresses in clatd.
Currently, when clatd detects that the IPv6 address on its interface has changed, it updates its configuration accordingly. This complicates the code, and it prevents us from determining the IPv6 address in netd instead of clatd. Stop doing this, and simply exit instead. The framework will notice that the interface is gone and restart clatd, which will then have the correct configuration (and, unlike current code, the correct NAT64 prefix, if that has changed as well). This change also allows us to drop CAP_NET_ADMIN and run clatd as an unprivileged user with no capabilities. Test: atest clatd_test Test: changing IPv6 address on interface causes clatd to exit Test: "adb shell cat /proc/$(adb shell pidof clatd)/status | grep Cap" Change-Id: I296dcb185f603f685223b24ffefdf7a5c22b66e6
Diffstat (limited to 'Android.bp')
0 files changed, 0 insertions, 0 deletions