Files
hammer/recipes/incoming/dont-use-nobody.patch
T
sergioandClaude Opus 4.8 a1cca429bf Etapa G: abre la cola C — tmux (corpus 278→279), valida libs base
tmux 3.6b linkea libevent + ncurses hammer-built, estático (-static -lncursesw
-levent_core). Primer consumidor de la cola C que valida el unlock de las 20
libs base. + import c-cola-1 (14 clásicos C: tig/wget/rsync/git/mc/gnupg/…).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 21:11:50 -04:00

16 lines
381 B
Diff

rootbld makes all the supplementary groups nobody(65534);
this patch avoids using them in tests
diff --git a/getgroups.c b/getgroups.c
index 8a37ed0..01adfca 100644
--- a/getgroups.c
+++ b/getgroups.c
@@ -48,6 +48,7 @@
#endif
for (i = 0; i < n; i++) {
+ if (list[i] == 65534) continue;
printf("%lu ", (unsigned long)list[i]);
if (list[i] == gid)
gid_in_list = 1;