+uid_t recv_user_name(int f, uid_t uid)
+{
+ int len = read_byte(f);
+ char *name = new_array(char, len+1);
+ if (!name)
+ out_of_memory("recv_user_name");
+ read_sbuf(f, name, len);
+ return recv_add_uid(uid, name); /* node keeps name's memory */
+}
+
+gid_t recv_group_name(int f, gid_t gid)
+{
+ int len = read_byte(f);
+ char *name = new_array(char, len+1);
+ if (!name)
+ out_of_memory("recv_group_name");
+ read_sbuf(f, name, len);
+ return recv_add_gid(gid, name); /* node keeps name's memory */
+}
+