1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 09:07:35 +00:00

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
2 changed files with 6 additions and 6 deletions

View file

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

View file

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