From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1169003c82980a7,start X-Google-Attributes: gidfee84,public From: "Kim, Hyunchul" Subject: [Q] trace of set-uid program Date: 1999/08/11 Message-ID: #1/1 X-Deja-AN: 511432034 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Trace: news.hananet.net 934376420 210.220.83.164 (Wed, 11 Aug 1999 22:00:20 KST) X-MSMail-Priority: Normal NNTP-Posting-Date: Wed, 11 Aug 1999 22:00:20 KST Newsgroups: comp.unix.osf.osf1 I'm writing an application which traces system calls of target processes. My problem is that when a target process do 'execve' to execute a set-uid program (with uid 0), the process comes to stop. Then, neither getting the status of the process with 'ioctl(procfd, PIOCSTATUS, &prstatus)' or making it running with 'ioctl(procfd, PIOCRUN, NULL) succeeds. The 'errno' is EWOULDBLOCK(EAGAIN). Can I trace a root-set-uid program? If I can, how can i do?