/proc/<pid>/exe symlink behavior change in >=3.15.

From: Piotr Karbowski
Date: Sat Sep 06 2014 - 17:44:53 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/