grsec and communigate pro
Posted: Wed Mar 05, 2003 11:55 am
hello. can anyone help to track troubles with run subject progs? my situation: kernel 2.4.20 + last grsec stable release on x86. all chpax restrict disabled for server binary. but server failed to start with 'segmentatuon fault' error. grsec are DISABLED (obly patched kernel).. i can't understand this situation. strace return folowing:
----------------------------
strace -ff -o cgsrv /etc/init.d/CommuniGate start
Starting CommuniGate Pro /opt/CommuniGate/CGServer --Base /var/CommuniGate --Daemon
setbpt: ptrace(PTRACE_POKETEXT, ...): Input/output error
Process 9391 attached
Process 18490 suspended
Process 25646 attached
Process 26837 attached
Process 18490 resumed
Process 9391 detached
Process 9289 attached
Process 9289 detached
Process 22939 attached
Process 27402 attached
Process 17088 attached
Process 29450 attached
Process 25646 detached
Real-time signal 1
---------------------------
strace debug file show a lot of "rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], = 0
rt_sigsuspend([]--- SIGRTMIN (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], = 0
rt_sigsuspend([]--- SIGRTMIN (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)" lines... what is it?
----------------------------
strace -ff -o cgsrv /etc/init.d/CommuniGate start
Starting CommuniGate Pro /opt/CommuniGate/CGServer --Base /var/CommuniGate --Daemon
setbpt: ptrace(PTRACE_POKETEXT, ...): Input/output error
Process 9391 attached
Process 18490 suspended
Process 25646 attached
Process 26837 attached
Process 18490 resumed
Process 9391 detached
Process 9289 attached
Process 9289 detached
Process 22939 attached
Process 27402 attached
Process 17088 attached
Process 29450 attached
Process 25646 detached
Real-time signal 1
---------------------------
strace debug file show a lot of "rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], = 0
rt_sigsuspend([]--- SIGRTMIN (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [RTMIN])
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], = 0
rt_sigsuspend([]--- SIGRTMIN (Real-time signal 0) ---
) = -1 EINTR (Interrupted system call)" lines... what is it?