Mailinglist Archive: opensuse-bugs (5060 mails)

< Previous Next >
[Bug 723708] /proc/<pid>/stat does not show filename but path (was: checkproc returns wrong values)

https://bugzilla.novell.com/show_bug.cgi?id=723708

https://bugzilla.novell.com/show_bug.cgi?id=723708#c36


Jeff Mahoney <jeffm@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Kernel |Basesystem
AssignedTo|kernel-maintainers@xxxxxxxx |mls@xxxxxxxx
|ovo.novell.com |

--- Comment #36 from Jeff Mahoney <jeffm@xxxxxxxx> 2012-03-26 17:33:04 EDT ---
The difference between the two environments is that perl 5.14 (12.1) uses
prctl() to set the process name and perl 5.10 (SP2) doesn't. It just relies on
changing argv. The ltraces and straces I've seen bear this out.

The kernel does fill comm with the last component of the path. Perl 5.10
doesn't call prctl so it doesn't replace it. Perl 5.14 does, which is why you
see something different in /proc/pid/stat.

Passing on to perl maintainer for further discussion. In any case, it's not a
kernel issue.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >