Errors in sigaction struct definition

2005-03-10 Thread Jordi Brinquez
I found a problem while using sigaction structure because of problems on definition of that structure. I found it on version 2.6.10 but it was confirmed on version 2.6.8 and 2.6.11 (so probably on other 2.6.x versions) Extract from /include/asm-i386/signal.h (lines 142-172) #ifdef __KERNEL__

Errors in sigaction struct definition

2005-03-10 Thread Jordi Brinquez
I found a problem while using sigaction structure because of problems on definition of that structure. I found it on version 2.6.10 but it was confirmed on version 2.6.8 and 2.6.11 (so probably on other 2.6.x versions) Extract from /include/asm-i386/signal.h (lines 142-172) #ifdef __KERNEL__

Possible bug on signal.h

2005-02-24 Thread Jordi Brinquez
Hi, I think I found a possible bug on file signal.h. The problem comes when you define a struct sigaction on a user program and then you use the function sigaction to remap a signal handler (in my case a page_fault) for my own function, this system call is compiled as __NR_sigaction system call

Possible bug on signal.h

2005-02-24 Thread Jordi Brinquez
Hi, I think I found a possible bug on file signal.h. The problem comes when you define a struct sigaction on a user program and then you use the function sigaction to remap a signal handler (in my case a page_fault) for my own function, this system call is compiled as __NR_sigaction system call