Re: strace -p 1?

David S. Miller (davem@caip.rutgers.edu)
Thu, 16 May 1996 21:59:54 -0400


From: Jared Mauch <jared@wolverine.hq.cic.net>
Date: Thu, 16 May 1996 17:33:37 -0400 (EDT)

Should I be able to strace init?

arch/i386/kernel/ptrace.c:

asmlinkage int sys_ptrace(long request, long pid, long addr, long data)
{

[ ... ]

if (pid == 1) /* you may not mess with init */
return -EPERM;

[ ... ]

}

Nope...

Later,
David S. Miller
davem@caip.rutgers.edu