summaryrefslogtreecommitdiff
path: root/proc/proc.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-05-29 18:08:52 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:15:31 +0200
commit2e3a1e0f028ae5498d96a4a3618a3533e062d2eb (patch)
tree9db11a0c0e5743069106e83bd2a9d3639dd40e38 /proc/proc.h
parentffead1cbcaa1db5db525403043e27d618af8752b (diff)
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.
Diffstat (limited to 'proc/proc.h')
-rw-r--r--proc/proc.h2
1 files changed, 0 insertions, 2 deletions
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 */