lkml.org 
[lkml]   [2014]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject/proc/<pid>/exe symlink behavior change in >=3.15.
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.


\
 
 \ /
  Last update: 2014-09-07 00:01    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog