Skip to contentSkip to conversation

proc.5: Document /proc/PID/exe behaviour on unlinked pathnames

PATCH In review Guillem Jover 2 participants 2 messages Jan 1, 2012 – May 4, 2015 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc.5: Document /proc/PID/exe behaviour on unlinked pathnames

---
 man5/proc.5 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
man5/proc.5 +3 -1
index 5aca38a..8aa8798 100644
@@ -58,7 +58,7 @@
 .\" to see what information could be imported from that file
 .\" into this file.
 .\"
-.TH PROC 5 2011-10-04 "Linux" "Linux Programmer's Manual"
+.TH PROC 5 2011-12-29 "Linux" "Linux Programmer's Manual"
 .SH NAME
 proc \- process information pseudo-file system
 .SH DESCRIPTION
@@ -174,6 +174,8 @@ You can even type
 .I /proc/[pid]/exe
 to run another copy of the same executable as is being run by
 process [pid].
+If the pathname has been unlinked, the symbolic link will contain the
+string \(aq (deleted)\(aq appended to the original pathname.
 .\" The following was still true as at kernel 2.6.13
 In a multithreaded process, the contents of this symbolic link
 are not available if the main thread has already terminated
Signature · 6 lines
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20120101064056.GA23360-v62vTE6/wQGgM1MOaoewpti2O/[email protected]

#2 lore raw

Hello Guillem,

Quoted 1 line · Guillem Jover

Long ago, this patch fell of the table. I just found it again, and applied.

Cheers,

Michael

Quoted 27 lines
---
 man5/proc.5 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
man5/proc.5 +3 -1
index 5aca38a..8aa8798 100644
@@ -58,7 +58,7 @@
 .\" to see what information could be imported from that file
 .\" into this file.
 .\"
-.TH PROC 5 2011-10-04 "Linux" "Linux Programmer's Manual"
+.TH PROC 5 2011-12-29 "Linux" "Linux Programmer's Manual"
 .SH NAME
 proc \- process information pseudo-file system
 .SH DESCRIPTION
@@ -174,6 +174,8 @@ You can even type
 .I /proc/[pid]/exe
 to run another copy of the same executable as is being run by
 process [pid].
+If the pathname has been unlinked, the symbolic link will contain the
+string \(aq (deleted)\(aq appended to the original pathname.
 .\" The following was still true as at kernel 2.6.13
 In a multithreaded process, the contents of this symbolic link
 are not available if the main thread has already terminated
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html