lkml.org 
[lkml]   [2001]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From


In arch/i386/kernel/ptrace.c there is the following code ...

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


What is the rationale for this ? Is this a real security decision or
an implementation detail (bad things will happen).

Thoughts ?

richard.

-----------------------------------------------------------------------
Richard Offer Technical Lead, Trust Technology
"Specialization is for insects" SGI
_______________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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