Linus Torvalds writes: (Summary)
Yes, the signal is cleared if the e[ug]id/fs[ug]id is changed by exec,
but not (for example) if just uid is changed.
but not (for example) if just uid is changed.
Does that matter? But signal handling does actually check uid, so it does actually affect signal permission checks across execve.
execve.
I'm not entirely convinced about this patch. The parent death signal has been problematic before, I'm not sure we want to add to the whole situation without very strong arguments.
situation without very strong arguments.
Linus
Linus
Linus
but not (for example) if just uid is changed.
Does that matter? But signal handling does actually check uid, so it does actually affect signal permission checks across execve.
execve.
I'm not entirely convinced about this patch. The parent death signal has been problematic before, I'm not sure we want to add to the whole situation without very strong arguments.
situation without very strong arguments.
Linus
Linus
Linus