Searched refs:num_env (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | auth-pam.c | 298 u_int i, num_env; in import_environments() local 309 num_env = buffer_get_int(b); in import_environments() 310 if (num_env > 1024) in import_environments() 312 __func__, num_env); in import_environments() 313 sshpam_env = xcalloc(num_env + 1, sizeof(*sshpam_env)); in import_environments() 314 debug3("PAM: num env strings %d", num_env); in import_environments() 315 for(i = 0; i < num_env; i++) in import_environments() 318 sshpam_env[num_env] = NULL; in import_environments() 321 num_env = buffer_get_int(b); in import_environments() 322 debug("PAM: num PAM env strings %d", num_env); in import_environments() [all …]
|
D | session.h | 59 u_int num_env; member
|
D | session.c | 1176 for (i = 0; i < s->num_env; i++) in do_setup_env() 2242 if (s->num_env > 128) { in session_env_req() 2249 debug2("Setting env %d: %s=%s", s->num_env, name, val); in session_env_req() 2250 s->env = xreallocarray(s->env, s->num_env + 1, in session_env_req() 2252 s->env[s->num_env].name = name; in session_env_req() 2253 s->env[s->num_env].val = val; in session_env_req() 2254 s->num_env++; in session_env_req() 2523 for (i = 0; i < s->num_env; i++) { in session_close()
|