Signals after exec

James R Drinkwater jd at csd4.milw.wisc.edu
Wed Feb 22 07:55:17 AEST 1989


Signals that are caught and assigned a signal handler are reset after
a call to exec.  Besides the fact that if they were not reset, a security
problem would result with set-uid programs that are exec'ed, the only other
reason I can think of is that exec overlays the calling process, so all
code is lost.  Are there other reasons that I am missing?  Can you think
of examples in which you would like to keep a signal handler installed
across exec?
--

Jim Drinkwater
Internet: jd at csd4.milw.wisc.edu
UUCP: uwvax!uwmcsd1!uwmcsd4!jd



More information about the Comp.unix.wizards mailing list