All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Karbowski <piotr.karbowski@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: /proc/<pid>/exe symlink behavior change in >=3.15.
Date: Sat, 06 Sep 2014 23:44:32 +0200	[thread overview]
Message-ID: <540B8040.5010206@gmail.com> (raw)

Hi,

Starting with kernel 3.15 the 'exe' symlink under /proc/<pid>/ acts 
diffrent than it used to in all the pre-3.15 kernels.

The usecase:

run /root/testbin (app that just sleeps)
cp /root/testbin /root/testbin.new
mv /root/testbin.new /root/testbin
ls -al /proc/`pidof testbin`/exe

<=3.14: /root/testbin (deleted)
 >=3.15: /root/testbin.new (deleted)

Was the change intentional? It does render my system unusable and I 
failed to find a information about such change in the ChangeLog.

-- Piotr.

             reply	other threads:[~2014-09-06 21:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-06 21:44 Piotr Karbowski [this message]
2014-09-06 23:02 ` /proc/<pid>/exe symlink behavior change in >=3.15 Richard Weinberger
2014-09-07 10:20   ` Piotr Karbowski
2014-09-07  7:56 ` Mateusz Guzik
2014-09-11 18:37   ` Piotr Karbowski
2014-09-11 23:39   ` Chuck Ebbert
2014-09-11 23:57     ` Mateusz Guzik
2014-09-15 14:14       ` Miklos Szeredi

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=540B8040.5010206@gmail.com \
    --to=piotr.karbowski@gmail.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.