search for: default_login_env_size

Displaying 1 result from an estimated 1 matches for "default_login_env_size".

2001 Mar 29
3
Patches for OpenSSH 2.5.2p2: evaluate /etc/default/login, makefiles manpages
...in file ETC_DEFAULT_LOGIN_FILENAME that cause actions + * other than setting environment variables, + * setting the umask and ulimit + * will not be processed. + */ +void do_etc_default_login(char ***env, int *envsize, const char *shell, + const uid_t uid) +{ + char **default_login_env; + u_int default_login_env_size; + char *value; + + /* + * Read the assignments in file ETC_DEFAULT_LOGIN_FILENAME + * into the temporary environment default_login_env. + */ + default_login_env_size = 20; + default_login_env = xmalloc(default_login_env_size * sizeof(char *)); + default_login_env[0] = NULL; + read_enviro...