No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hungming Chen f752bb4bb7 [RFCLAT#16] remove drop_root_and_caps
gid and uid of clatd binary has been set by apex
canned_fs_config. don't need drop_root_and_caps()
anymore.

Bug: 212345928
Test: manual test
1. Connect to ipv6-only wifi.
2. Make IPv4 traffic.
   $ ping 8.8.8.8

Check uid and uid is AID_CLAT(1029) in process status:
$ adb shell ps | grep clat
clat          9743   740 10826108  2264 0              0 S clatd-wlan0
$ adb shell cat /proc/9743/status | egrep -i '^(Uid|Gid|Groups):|^Cap'
Uid:	0	1029	1029	1029
Gid:	0	1029	1029	1029
Groups:	3005
CapInh:	00000000000074ef
CapPrm:	00000000000074ef
CapEff:	0000000000000000
CapBnd:	00000000000074ef
CapAmb:	0000000000000000

Change-Id: I8f7a9c50368d5c789621ea39b39d9242adfb0fcc
2022-01-14 18:32:06 +08:00
.clang-format clatd's .clang-format shouldn't be kept in sync with system/core 2019-01-17 03:53:02 +00:00
Android.bp [RFCLAT#16] remove drop_root_and_caps 2022-01-14 18:32:06 +08:00
BUGS clat: add support for ESP, mirroring existing GRE support 2019-08-20 17:51:28 -07:00
clatd.c [RFCLAT#16] remove drop_root_and_caps 2022-01-14 18:32:06 +08:00
clatd.h [RFCLAT#16] remove drop_root_and_caps 2022-01-14 18:32:06 +08:00
clatd_test.cpp [RFCLAT#9] refactor getinterface_ip() to stop using libnl 2021-12-30 22:55:26 +08:00
common.h Move main() out of clatd.c. 2019-01-04 19:08:45 +09:00
config.h switch from using packet ring to normal read 2021-11-09 19:32:33 +00:00
debug.h Don't compile packet dumping code by default. 2013-02-01 10:49:49 +09:00
dump.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
dump.h Fix some build errors when CLAT_DEBUG is set to 1 2020-10-20 09:23:49 +00:00
getaddr.c [RFCLAT#10] remove libnl related files 2021-12-30 22:55:34 +08:00
getaddr.h [RFCLAT#9] refactor getinterface_ip() to stop using libnl 2021-12-30 22:55:26 +08:00
icmp.c Re-indent clatd code with clang-format 2018-12-11 10:12:47 +08:00
icmp.h Support translating ICMP errors. 2013-04-12 13:42:58 +09:00
ipv4.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
ipv6.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
LICENSE android clat service 2012-11-12 15:59:12 -08:00
logging.c Re-indent clatd code with clang-format 2018-12-11 10:12:47 +08:00
logging.h android clat service 2012-11-12 15:59:12 -08:00
main.c [RFCLAT#16] remove drop_root_and_caps 2022-01-14 18:32:06 +08:00
METADATA Add METADATA to android-clat: Apache2=NOTICE 2020-04-28 10:43:07 -07:00
MODULE_LICENSE_APACHE2 android clat service 2012-11-12 15:59:12 -08:00
NOTICE android clat service 2012-11-12 15:59:12 -08:00
OWNERS Remove the fail-safe owner. 2019-02-12 06:27:09 +00:00
PREUPLOAD.cfg clatd: Add clang-format style config and pre-upload hook. 2018-12-11 10:04:23 +08:00
TEST_MAPPING Attempt to run netd tests when clat is modified. 2019-06-13 20:08:36 +00:00
translate.c Clatd changes for move of libipchecksum. 2021-12-14 03:19:12 +00:00
translate.h Move main() out of clatd.c. 2019-01-04 19:08:45 +09:00
vendor-464xlat.rc Copy the 464xlat vendor property to an AOSP property. 2021-03-10 14:58:05 +09:00