Moved permission table logic to a separate file

This commit is contained in:
BritishTeapot
2025-03-18 14:02:42 +01:00
parent e1846440bc
commit fe4b8801c0
7 changed files with 259 additions and 154 deletions

12
src/process_info.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef PROCESS_INFO_H
#define PROCESS_INFO_H
#include <sys/types.h>
struct process_info {
pid_t PID;
const char *name;
uid_t UID;
};
#endif // PROCESS_INFO_H