RE: Change signal mask after vfork/clone system call

From: Gregory Giguashvili
Date: Thu Nov 04 2010 - 12:44:12 EST


> Oh you are wrapping buggy apps ?
The applications are not buggy. They're just unaware of signals being blocked. It's a common practice to set a signal, but not to reset signal mask unfortunately.

> exec a tiny app which fixes the signals and execs the proper app
Yes, this is the last resort of course. I was wondering if I'm missing some functionality in Linux allowing me to avoid intermediate executables. It looks like I have to go via a wrapper exe.

Thank you for your comments,
Giga


---------------------------------------------------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/