Re: [PATCH 0/1] fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues

2022-05-11 Thread Mohammad HOQUE
On Tue, May 10, 2022, 8:45 PM Brian Inglis wrote: > Noticed some issues with x86 32 bit procps and checked /proc/pid/stat which > looked misaligned compared to x86_64 64 bit, due to int64_t format > mismatches. > There were also issues with the tty_nr encoding (uses ctty which has major > in > to

[PATCH 0/1] fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues

2022-05-10 Thread Brian Inglis
Noticed some issues with x86 32 bit procps and checked /proc/pid/stat which looked misaligned compared to x86_64 64 bit, due to int64_t format mismatches. There were also issues with the tty_nr encoding (uses ctty which has major in top 16 bits and minor in bottom 16 bits, where tty_nr is specified