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: Mon, 26 Mar 2012 14:09:32 +0000
- Message-id: <20120326140932.8BCFD24551D@molor.provo.novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=723708
https://bugzilla.novell.com/show_bug.cgi?id=723708#c32
Dr. Werner Fink <werner@xxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|werner@xxxxxxxx |
--- Comment #32 from Dr. Werner Fink <werner@xxxxxxxx> 2012-03-26 14:09:30 UTC
---
checkproc was written to be able to compare device and inodes of the
running program and the binary from disk. For a fallback checkproc
uses /proc/<pid>/stat to identify a running script by its names
(which indeed is a risk). It seems that some scripts now shown
with full path name whch does not fit into the 16 bytes used for
the name in /proc/<pid>/stat -> compare with comment #c28
--
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 > |