From: mkatiyar@gmail.com (Manish Katiyar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: executable ELF is rm-ed from disk, but still running RAM..
Date: Mon, 30 May 2011 21:42:40 -0700 [thread overview]
Message-ID: <BANLkTima=B180P0yp1ps124RpauVHtQuwA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTik0UTP4tX9wZYo7A7F=0g48XOxNgg@mail.gmail.com>
On Mon, May 30, 2011 at 8:45 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com> wrote:
> hi..
>
> On Tue, May 31, 2011 at 09:57, Manish Katiyar <mkatiyar@gmail.com> wrote:
>> How will "rm /bin/rm" work otherwise ?
>
> ok, makes me think another case....suppose we erase the related data
> blocks in the disk that correlate to running binary.... does Linux
> kernel follow that with erasing all the related page cache? or is it
> possible that temporarily cache of the disk blocks still survived?
I don't know for sure, but my guess is that the OS wouldn't notice it
till it goes out of cache and it has to reload.
--
Thanks -
Manish
next prev parent reply other threads:[~2011-05-31 4:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 14:49 executable ELF is rm-ed from disk, but still running RAM Mulyadi Santosa
2011-05-30 16:26 ` Jonathan Neuschäfer
2011-05-31 1:25 ` Pei Lin
2011-05-31 2:46 ` Mulyadi Santosa
2011-05-31 2:57 ` Manish Katiyar
2011-05-31 3:45 ` Mulyadi Santosa
2011-05-31 4:42 ` Manish Katiyar [this message]
2011-05-31 4:56 ` Vikash Kumar
2011-05-31 6:53 ` Mulyadi Santosa
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='BANLkTima=B180P0yp1ps124RpauVHtQuwA@mail.gmail.com' \
--to=mkatiyar@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).