[LTP] [PATCH v2] setpgid02: use 1 instead of getpgid(1)
Petr Vorel
pvorel@suse.cz
Wed Jun 28 11:16:55 CEST 2023
Hi Edward,
> On Android, init does not setpgid, so getpgid(1) returns 0 and the third
> case of setting pgid to a different session's process group does not
> behave as expected: setpgid treats 0 as setting the pgid to the pid.
> Instead, replace SAFE_GETPGID(1) with the expected value of 1.
IMHO this was in the end fixed by 105b0fe17 ("setpgid02: Use pid_max as PGID for
EPERM") therefore I'm closing this in patchwork as Rejected.
Please let me know if there are still some problems on Android.
Kind regards,
Petr
More information about the ltp
mailing list