LibCore+top: Use pid_t for pgid/pgrp/sid numbers

This commit is contained in:
Andreas Kling 2020-09-06 19:04:47 +02:00
parent 5a934c37cf
commit 6d8c4af9c2
Notes: sideshowbarker 2024-07-19 02:52:48 +09:00
2 changed files with 6 additions and 6 deletions

View File

@ -57,9 +57,9 @@ struct ProcessStatistics {
// Keep this in sync with /proc/all.
// From the kernel side:
pid_t pid;
unsigned pgid;
unsigned pgp;
unsigned sid;
pid_t pgid;
pid_t pgp;
pid_t sid;
uid_t uid;
gid_t gid;
pid_t ppid;

View File

@ -42,9 +42,9 @@
struct ThreadData {
int tid;
pid_t pid;
unsigned pgid;
unsigned pgp;
unsigned sid;
pid_t pgid;
pid_t pgp;
pid_t sid;
uid_t uid;
gid_t gid;
pid_t ppid;