From a61098df231508f38b019711192ab0f4a71aca7d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 15 Apr 2001 08:10:54 +0000 Subject: 2000-04-03 Neal H Walfield * proc.h (struct ids): Drop gids and ngids, we never use them. Turn uids into a zero length array. * mgt.c (make_ids): Conform to new semantics. (ids_free): Removed. Rendered obsolete by ids_rele. (ids_rele): New function. Drop a reference to the given ids. (ids_ref): Add a reference to the given ids. (S_proc_reauthenticate): Use ids_rele and new make_ids semantics. (S_proc_child): Use ids_rele and ids_ref. (create_startup_proc): Conform to new make_ids semantics. (complete_proc): Use ids_ref. (process_has_exited): Use ids_rele. --- proc/proc.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'proc/proc.h') diff --git a/proc/proc.h b/proc/proc.h index 1344df03..39755986 100644 --- a/proc/proc.h +++ b/proc/proc.h @@ -110,10 +110,9 @@ struct login struct ids { - int i_nuids, i_ngids; - uid_t *i_uids; - gid_t *i_gids; int i_refcnt; + int i_nuids; + uid_t i_uids[0]; }; /* Structure for an exception port we are listening on. */ -- cgit v1.2.3