From 2e3a1e0f028ae5498d96a4a3618a3533e062d2eb Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sat, 29 May 2021 18:08:52 +0300 Subject: Remove the concept of process owner Now that it's completely unused. procinfo.owner is now simply set to the first UID that a process has. proc_setowner () is kept for compatibility, but now does nothing. The clients still try to call it, though, for compatibility with older proc server versions. --- proc/proc.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'proc/proc.h') diff --git a/proc/proc.h b/proc/proc.h index cafcfaff..a83a5090 100644 --- a/proc/proc.h +++ b/proc/proc.h @@ -44,7 +44,6 @@ struct proc task_t p_task; pid_t p_pid; struct login *p_login; - uid_t p_owner; struct ids *p_id; /* Process hierarchy */ @@ -90,7 +89,6 @@ struct proc unsigned int p_deadmsg:1; /* hang on requests for a message port */ unsigned int p_checkmsghangs:1; /* someone is currently hanging on us */ unsigned int p_msgportwait:1; /* blocked in getmsgport */ - unsigned int p_noowner:1; /* has no owner known */ unsigned int p_loginleader:1; /* leader of login collection */ unsigned int p_dead:1; /* process is dead */ unsigned int p_important:1; /* has called proc_mark_important */ -- cgit v1.2.3