android_packages_modules_Co.../clatd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 2d26f46559 clatd: x86-32 allow socketcall()
32-bit x86 has a crazy networking calling convention and instead of using
individual system calls has a single multiplexed socketcall()

bionic hasn't finished transitioning to the individual calls yet
which were added to Linux kernels around the 4.10-4.14-ish timeframe.

This does open a bit of security hole, since it effectively allows
all 20-ish networking system calls, but oh well, better than constantly
allowing & logging.

I don't think we'll ever want to enable KILL mode on x86-32 any way.

Test: TreeHugger
Flag: EXEMPT mainline & disabled code
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I7228132cfbf716592607d010f64d5adeeb4419aa
2025-08-05 12:14:42 -07:00
..
.clang-format Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
BUGS Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
clatd.c clatd: rework sigterm & error handling 2025-03-17 22:53:32 -07:00
clatd.h clatd: implement seccomp system call protection 2025-03-18 02:57:06 -07:00
clatd_test.cpp Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
common.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
config.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
debug.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
dump.c Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
dump.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
icmp.c Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
icmp.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
ipv4.c clatd: fix endianness of multicast drop 2025-03-21 12:55:32 -07:00
ipv6.c Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
LICENSE Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
logging.c Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
logging.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
main.c clatd: x86-32 allow socketcall() 2025-08-05 12:14:42 -07:00
METADATA Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
MODULE_LICENSE_APACHE2 Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
NOTICE Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
PREUPLOAD.cfg Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
TEST_MAPPING Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
translate.c Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00
translate.h Add 'clatd/' from commit '2007830075' 2023-09-12 11:48:08 -07:00