LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2005, 03:13 AM   #1
sOldFiSh
LQ Newbie
 
Registered: Nov 2005
Location: Bangladesh
Distribution: RedHat 9.0
Posts: 1

Rep: Reputation: 0
Angry 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
 
Old 11-30-2005, 11:11 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
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.
 
Old 11-30-2005, 02:34 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modifying system calls manjiri Linux - Newbie 3 11-07-2005 01:02 PM
Tracing the system calls arunachalam Linux - Software 2 09-24-2005 02:41 AM
How to setup a bug tracing system cyu021 Linux - Software 2 09-14-2005 08:30 PM
Some system calls Spooky Programming 1 11-24-2004 10:17 AM
Sendmail settings. Will sendmail always answer "helo". (and tracing blocked port 25) Bjorkli Linux - Networking 5 05-24-2004 03:13 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration