From owner-freebsd-current Sun Mar 23 01:04:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA00235 for current-outgoing; Sun, 23 Mar 1997 01:04:38 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id BAA00226 for ; Sun, 23 Mar 1997 01:04:26 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id KAA06288; Sun, 23 Mar 1997 10:02:04 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA06468; Sun, 23 Mar 1997 09:50:38 +0100 (MET) Message-ID: <19970323095038.PT14623@uriah.heep.sax.de> Date: Sun, 23 Mar 1997 09:50:38 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: mark@seeware.DIALix.oz.au (Mark Hannon) Cc: freebsd-current@freebsd.org Subject: Re: 2.2-RELEASE, dtmail stopped working References: <199703230114.MAA00606@putte.seeware.DIALix.oz.au> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199703230114.MAA00606@putte.seeware.DIALix.oz.au>; from Mark Hannon on Mar 23, 1997 12:14:35 +1100 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Mark Hannon wrote: > I can't however seem to get a trace going now. Executing > ktrace -i -p 264 > From an su'd shell (where 264 is the pid of my normal tcsh) doesn't > seem to give much joy. You probably need to disable this code in sys/kern/kern_exec.c temporarily: /* * Turn off syscall tracing for set-id programs, except for * root. */ if (p->p_tracep && suser(p->p_ucred, &p->p_acflag)) { p->p_traceflag = 0; vrele(p->p_tracep); p->p_tracep = NULL; } -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)