diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-13 07:21:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-04-13 07:21:15 +0000 |
commit | 30bb26f896777144eb20a620440a97fa5c2be50f (patch) | |
tree | e96ee59231187e62e494caf2bea4baffe2a31bb9 /src/minutils/s6-freeramdisk.c | |
parent | 0b37a8b8e99c0f34bdaf406af2b9aca4e56e1d9d (diff) | |
download | s6-linux-utils-30bb26f896777144eb20a620440a97fa5c2be50f.tar.xz |
Fix s6-ps types parsing
The documented type lengths for /proc/$pid/stat in "man 5 proc" are for
*kernel* types. Those lengths may not apply to userland types (think
32-bit userspace on 64-bit kernels). So we need to parse everything as
64-bit, and do the conversion to userspace types later.
Thanks to mixi for the report and the analysis.
Diffstat (limited to 'src/minutils/s6-freeramdisk.c')
0 files changed, 0 insertions, 0 deletions