lkml.org 
[lkml]   [1996]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: strace -p 1?
       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


    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:6.718 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site