linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: simon <simon.guinot@laposte.net>
To: A M <alim1993@yahoo.com>
Cc: linux-C-programming <linux-c-programming@vger.kernel.org>
Subject: Re: Accessing a process structure in the processes link list
Date: Mon, 29 Nov 2004 02:31:56 +0100	[thread overview]
Message-ID: <41AA7C0C.8040103@laposte.net> (raw)
In-Reply-To: <20041128225720.99389.qmail@web51909.mail.yahoo.com>



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


      reply	other threads:[~2004-11-29  1:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-28 22:57 Accessing a process structure in the processes link list A M
2004-11-29  1:31 ` simon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41AA7C0C.8040103@laposte.net \
    --to=simon.guinot@laposte.net \
    --cc=alim1993@yahoo.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).