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

From: Piotr Karbowski
Date: Sun Sep 07 2014 - 06:20:25 EST


Hi,

On 09/07/2014 01:02 AM, Richard Weinberger wrote:
Can you please find the offending commit?
Using an automated bisect run this should be easily doable.

That would be it:

da1ce0670c14d8380e423a3239e562a1dc15fa9e is the first bad commit
commit da1ce0670c14d8380e423a3239e562a1dc15fa9e
Author: Miklos Szeredi <mszeredi@xxxxxxx>
Date: Tue Apr 1 17:08:43 2014 +0200

vfs: add cross-rename

If flags contain RENAME_EXCHANGE then exchange source and destination files.
There's no restriction on the type of the files; e.g. a directory can be
exchanged with a symlink.

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
Reviewed-by: Jan Kara <jack@xxxxxxx>
Reviewed-by: J. Bruce Fields <bfields@xxxxxxxxxx>

:040000 040000 86e9be1a42cb91c1068b76700c74ec7fdba5443c e0269a1fffefe60cbd6d56ccab6485ff383d728d M fs
:040000 040000 e677e31ebb0a5b355cefe199cba9453800624905 7a083642c2ea0698d85bfc9e65b99e8cfb4a7440 M include
:040000 040000 266252c531debd56ae52e000ed1579dca19ddb35 bfcb75158276de3feafd45d726f3297dfc139389 M security

-- 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/