Mailinglist Archive: opensuse-bugs (5060 mails)
| < Previous | Next > |
[Bug 723708] /proc/<pid>/stat does not show filename but path (was: checkproc returns wrong values)
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 27 Mar 2012 15:10:50 +0000
- Message-id: <20120327151050.55D1A24551D@molor.provo.novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=723708
https://bugzilla.novell.com/show_bug.cgi?id=723708#c38
Jeff Mahoney <jeffm@xxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jeffm@xxxxxxxx |
--- Comment #38 from Jeff Mahoney <jeffm@xxxxxxxx> 2012-03-27 11:10:46 EDT ---
Yes, Werner, it is.
Please re-read comment #35 which clearly demonstrates that it varies by which
perl version is installed and not by which kernel version is installed. Comment
#36 documents EXACTLY why that is.
The prctl() PR_SET_NAME call has been essentially unchanged since SLES9. The
difference is that perl 5.10 didn't use it and perl 5.14 does. Perl used to
change just argv[0] and now it changes argv[0] AND uses prctl() to change the
name that is used in /proc/$$/stat. Don't believe me? Try the same tests I did
in comments #35 and #36.
I don't know if there is a way to get what you want without modifying perl not
to call prctl().
--
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 > |