summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-04-15 08:10:54 +0000
committerRoland McGrath <roland@gnu.org>2001-04-15 08:10:54 +0000
commita61098df231508f38b019711192ab0f4a71aca7d (patch)
tree19f52f7f14ed7334986c82993773acc57dca9931 /proc
parentdacefa3cb28a74c6d7b033a1877311b599e7520e (diff)
2000-04-03 Neal H Walfield <neal@cs.uml.edu>
* 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.
Diffstat (limited to 'proc')
-rw-r--r--proc/proc.h5
1 files changed, 2 insertions, 3 deletions
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. */