Searched refs:num_env (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | auth-pam.c | 311 u_int i, num_env; in import_environments() local 322 num_env = buffer_get_int(b); in import_environments() 323 if (num_env > 1024) in import_environments() 325 __func__, num_env); in import_environments() 326 sshpam_env = xcalloc(num_env + 1, sizeof(*sshpam_env)); in import_environments() 327 debug3("PAM: num env strings %d", num_env); in import_environments() 328 for(i = 0; i < num_env; i++) in import_environments() 331 sshpam_env[num_env] = NULL; in import_environments() 334 num_env = buffer_get_int(b); in import_environments() 335 debug("PAM: num PAM env strings %d", num_env); in import_environments() [all …]
|
D | session.h | 58 u_int num_env; member
|
D | session.c | 1017 for (i = 0; i < s->num_env; i++) in do_setup_env() 2036 if (s->num_env > 128) { in session_env_req() 2043 debug2("Setting env %d: %s=%s", s->num_env, name, val); in session_env_req() 2044 s->env = xreallocarray(s->env, s->num_env + 1, in session_env_req() 2046 s->env[s->num_env].name = name; in session_env_req() 2047 s->env[s->num_env].val = val; in session_env_req() 2048 s->num_env++; in session_env_req() 2321 for (i = 0; i < s->num_env; i++) { in session_close()
|