3 void __init_security(size_t *);
6 int (*main)(int, char **, char **), int argc, char **argv,
7 int (*init)(int, char **, char **), void (*fini)(void),
8 void (*ldso_fini)(void))
10 char **envp = argv+argc+1, **auxv = envp;
13 do auxv++; while (*auxv);
14 libc.auxv = (void *)++auxv;
15 libc.ldso_fini = ldso_fini;
18 __init_security((void *)auxv);
20 /* Execute constructors (static) linked into the application */
21 if (init) init(argc, argv, envp);
23 /* Pass control to to application */
24 exit(main(argc, argv, envp));