Merge "change 'for-system' owner from root to clat" into main

This commit is contained in:
Maciej Żenczykowski 2025-03-17 19:47:33 -07:00 • committed by Gerrit Code Review
commit 1569bc4cbe
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
/bin/for-system 0 1000 0750
/bin/for-system 1029 1000 0750
/bin/for-system/clatd 1029 1029 06755
/bin/netbpfload 0 0 0750

View file

@ -104,7 +104,7 @@ static void verifyClatPerms() {
// First verify the clatd directory and binary,
// since this is built into the apex file system image,
// failures here are 99% likely to be build problems.
V(kClatdDir, S_IFDIR|0750, ROOT, SYSTEM, "system_file", DIR);
V(kClatdDir, S_IFDIR|0750, CLAT, SYSTEM, "system_file", DIR);
V(kClatdBin, S_IFREG|S_ISUID|S_ISGID|0755, CLAT, CLAT, "clatd_exec", BIN);
// Move on to verifying that the bpf programs and maps are as expected.