The original implementation of PR_SET_MM_EXE_FILE only allowed it to be used once in a process's lifetime. This restriction was lifted in Linux commit 3fb4afd9a504c2386b8435028d43283216bf588e ("prctl: remove one-shot limitation for changing exe link"). --- man2/prctl.2 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/man2/prctl.2 b/man2/prctl.2 index 071049d48..f5bab568e 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -648,11 +648,10 @@ memory area for the ELF .IR \.text section). .IP -The second limitation is that such transitions can be done only once -in a process life time. -Any further attempts will be rejected. -This should help system administrators monitor unusual -symbolic-link transitions over all processes running on a system. +.\" commit 3fb4afd9a504c2386b8435028d43283216bf588e +Before Linux 4.9, the +.BR PR_SET_MM_EXE_FILE +operation could only be performed once in a process's lifetime. .PP The following options are available since Linux 3.18. .\" commit f606b77f1a9e362451aca8f81d8f36a3a112139e -- 2.19.1