sigaltstack(2) setting not inherited by the child process

2001-03-02 Thread KUROSAWA Takahiro
The sigaction(2) manpage states that the signal stack is inherited by the child after fork(2), but the signal stack is not inherited in fact. The attached test program checks if the sigaltstack(2) setting is inherited by the child or not. The result of the program is: original: sp=0x0 size=0 fl

Re: Fixed - pthread altsigstack problem

2001-03-14 Thread KUROSAWA Takahiro
On Mon, 12 Mar 2001 18:46:16 -0500 James FitzGibbon <[EMAIL PROTECTED]> wrote: > Both of the patches below fix the problem mentioned in PR bin/25110. The > first one fixes it inside of kern_fork.c and would appear to apply the > corrective behaviour regardless of whether the process uses libc_r