Searched refs:new_grp (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.sbin/nscd/agents/ |
H A D | group.c | 48 struct group new_grp; in group_marshal_func() local 76 memcpy(&new_grp, grp, sizeof(struct group)); in group_marshal_func() 84 if (new_grp.gr_name != NULL) { in group_marshal_func() 85 size = strlen(new_grp.gr_name); in group_marshal_func() 86 memcpy(p, new_grp.gr_name, size); in group_marshal_func() 87 new_grp.gr_name = p; in group_marshal_func() 91 if (new_grp.gr_passwd != NULL) { in group_marshal_func() 92 size = strlen(new_grp.gr_passwd); in group_marshal_func() 93 memcpy(p, new_grp.gr_passwd, size); in group_marshal_func() 94 new_grp.gr_passwd = p; in group_marshal_func() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | getgrent.c | 215 struct group new_grp; in grp_marshal_func() local 260 memcpy(&new_grp, grp, sizeof(struct group)); in grp_marshal_func() 268 if (new_grp.gr_name != NULL) { in grp_marshal_func() 269 size = strlen(new_grp.gr_name); in grp_marshal_func() 270 memcpy(p, new_grp.gr_name, size); in grp_marshal_func() 271 new_grp.gr_name = p; in grp_marshal_func() 275 if (new_grp.gr_passwd != NULL) { in grp_marshal_func() 276 size = strlen(new_grp.gr_passwd); in grp_marshal_func() 277 memcpy(p, new_grp.gr_passwd, size); in grp_marshal_func() 278 new_grp.gr_passwd = p; in grp_marshal_func() [all …]
|