[lkml]   [2004]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Accessing a process structure in the processes link list
How would you know the offset (location of index 0 if
it was an array or the head of link list) of that
variable in memory, in this case it is the process
table named task of type a pointer to task_struct?

Any recommendation for references will be appreciated.



--- Doug McNaught <> wrote:

> A M <> writes:
> > Would it be possible for a program running as root
> > that wasn't compiled with the kernel to access a
> > process structure in the processes link list?
> Yes, but see below.
> > I've read an article about hiding processes and
> the
> > article made sound so easy to access the link list
> and
> > hide a process, how easy is it?
> You need read access to /dev/kmem and a fairly
> intimate knowledge of
> the kernel data structures in question.
> > Is it possible to a process to access its own
> entry in
> > the processes link list?
> Not without read access to the kmem device...
> -Doug

Do you Yahoo!?
The all-new My Yahoo! - Get yours free!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:08    [W:0.047 / U:1.592 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site