LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Tracing system calls of sendmail (https://www.linuxquestions.org/questions/programming-9/tracing-system-calls-of-sendmail-386338/)

sOldFiSh 11-25-2005 03:13 AM

Tracing system calls of sendmail
 
Dear All,

I need to trace all the system calls made and signals recieved by the process "sendmail". i use the strace command to do this, but in case of sendmail, the strace command fails. It shows something like, "operation not permitted".. how can i trace the system calls of sendmail? Please help me.. thanks

sOldFiSh

Capt_Caveman 11-30-2005 11:11 AM

Moved: This thread is more suitable in the Programming forum and has been moved accordingly to help your thread/question get the exposure it deserves.

bulliver 11-30-2005 02:34 PM

Just a guess:

Sendmail will be run SUID root. Perhaps you need to be root to run strace on it...
Are you trying to strace the server daemon, or just one of the temporary queue runs?


All times are GMT -5. The time now is 08:59 AM.