linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Accessing a process structure in the processes link list
@ 2004-11-28 22:57 A M
  2004-11-29  1:31 ` simon
  0 siblings, 1 reply; 2+ messages in thread
From: A M @ 2004-11-28 22:57 UTC (permalink / raw)
  To: linux-kernel, linux-assembly, linux-c-programming

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? 

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? 

Is it possible to a process to access its own entry in
the processes link list?


Thanks, 

Ali 




		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Accessing a process structure in the processes link list
  2004-11-28 22:57 Accessing a process structure in the processes link list A M
@ 2004-11-29  1:31 ` simon
  0 siblings, 0 replies; 2+ messages in thread
From: simon @ 2004-11-29  1:31 UTC (permalink / raw)
  To: A M; +Cc: linux-C-programming



A M wrote:
> 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? 
> 
> 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? 
there is some way... in kernel mode...
for example you can write a module who redirect the getdents system 
call... it is used to get directory listing...
command like ps are just a listing of the /proc/"pid" directories...
if you intercept a getdents call for a directory matching the pid of the 
process you want hide... just forget...
> 
> Is it possible to a process to access its own entry in
> the processes link list?
yes a process can change some attributes in his own entry... but i don't 
think it can acces to the process link list or hide itself in userspace...

simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-29  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-28 22:57 Accessing a process structure in the processes link list A M
2004-11-29  1:31 ` simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).