Searched refs:emalloc2 (Results 1 - 12 of 12) sorted by relevance
/macosx-10.10/sudo-73/src/ |
H A D | alloc.h | 27 void *emalloc2(size_t, size_t); 39 void *emalloc2();
|
H A D | sudo_edit.c | 112 tf = emalloc2(nfiles, sizeof(*tf)); 199 nargv = (char **) emalloc2(1 + nargc + 1, sizeof(char *)); 326 nargv = (char **) emalloc2(nargc + 1, sizeof(char *));
|
H A D | alloc.c | 58 * emalloc2() and erealloc3() cannot allocate huge amounts on such a 88 * emalloc2() allocates nmemb * size bytes and exits with an error 92 emalloc2(nmemb, size) function 99 errorx(1, "internal error, tried to emalloc2(0)"); 101 errorx(1, "internal error, emalloc2() overflow");
|
H A D | interfaces.c | 129 (struct interface *) emalloc2(num_interfaces, sizeof(struct interface)); 231 interfaces = (struct interface *) emalloc2(n, sizeof(struct interface));
|
H A D | env.c | 64 * emalloc2() and erealloc3() cannot allocate huge amounts on such a 262 env.envp = emalloc2(env.env_size, sizeof(char *)); 476 ep = emalloc2(env.env_size, sizeof(char *)); 692 env.envp = emalloc2(env.env_size, sizeof(char *));
|
H A D | sudo_nss.c | 226 user_groups = emalloc2(user_ngroups, sizeof(GETGROUPS_T));
|
H A D | exec.c | 386 fdsr = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 387 fdsw = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask));
|
H A D | set_perms.c | 518 groups = emalloc2(ngroups, sizeof(GETGROUPS_T));
|
H A D | sudo.c | 710 user_groups = emalloc2(user_ngroups, sizeof(GETGROUPS_T)); 747 cmnd = dst = emalloc2(cmnd_size, 2); 765 av = (char **) emalloc2(ac + 3, sizeof(char *));
|
H A D | exec_pty.c | 1028 fdsr = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask)); 1029 fdsw = emalloc2(howmany(maxfd + 1, NFDBITS), sizeof(fd_mask));
|
H A D | sudoreplay.c | 983 sessions = emalloc2(sessions_size, sizeof(char *));
|
H A D | visudo.c | 372 av = emalloc2(ac, sizeof(char *));
|
Completed in 196 milliseconds