public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/<pid>/exe symlink behavior change in >=3.15.
@ 2014-09-06 21:44 Piotr Karbowski
  2014-09-06 23:02 ` Richard Weinberger
  2014-09-07  7:56 ` Mateusz Guzik
  0 siblings, 2 replies; 8+ messages in thread
From: Piotr Karbowski @ 2014-09-06 21:44 UTC (permalink / raw)
  To: linux-kernel

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.

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

end of thread, other threads:[~2014-09-15 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-06 21:44 /proc/<pid>/exe symlink behavior change in >=3.15 Piotr Karbowski
2014-09-06 23:02 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox