diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-18 13:49:02 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-18 13:57:06 +0200 |
commit | 35e7d72e5f643bb342aff114b9bf5d7e03f6d5e2 (patch) | |
tree | 0ebd416da947d1245c37d833e1b28db8aa7c1a91 /libiohelp/return-buffer.c | |
parent | ac2803b4119db5e7c4eb56837f83811c51ec3ea0 (diff) | |
download | hurd-35e7d72e5f643bb342aff114b9bf5d7e03f6d5e2.tar.gz hurd-35e7d72e5f643bb342aff114b9bf5d7e03f6d5e2.tar.bz2 hurd-35e7d72e5f643bb342aff114b9bf5d7e03f6d5e2.zip |
procfs: Fix process creation time in /proc/pid/stat
This was always showing up as 0, because apparently we need to query
creation_time for the task, not a thread.
Here's a before vs after comparison:
$ cat /proc/self/stat ~/procfs/self/stat
11151 (cat) S 26571 11151 26571 0 0 0 0 0 0 0 1 0 0 0 20 0 2 0 0 154783744 251 0 134443008 134477480 0 0 0 0 0 0 0 21001 0 0 0 0 0 0 0
11151 (cat) S 26571 11151 26571 0 0 0 0 0 0 0 1 0 0 0 20 0 2 0 168174516295 154783744 260 0 134443008 134477480 0 0 0 0 0 0 0 21001 0 0 0 0 0 0 0
Message-Id: <20230418104902.12263-1-bugaevc@gmail.com>
Diffstat (limited to 'libiohelp/return-buffer.c')
0 files changed, 0 insertions, 0 deletions