X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fenv%2F__init_security.c;h=395abeb526761a9109b914e5924556916b361680;hb=6e0ad2277ae28ba55c4c73bbfd0898d90ececd33;hp=5fd12ecb47130a552d3f1561ab09ac32441f6970;hpb=df0b5a49406763aa4719dfad561a5de8924ecd59;p=musl diff --git a/src/env/__init_security.c b/src/env/__init_security.c index 5fd12ecb..395abeb5 100644 --- a/src/env/__init_security.c +++ b/src/env/__init_security.c @@ -8,11 +8,20 @@ #define AUX_CNT 24 +static void dummy(size_t *auxv) +{ +} +weak_alias(dummy, __init_ssp); + void __init_security(size_t *auxv) { size_t i, aux[AUX_CNT] = { 0 }; struct pollfd pfd[3] = { {.fd=0}, {.fd=1}, {.fd=2} }; +#ifndef SHARED + __init_ssp(auxv); +#endif + for (; auxv[0]; auxv+=2) if (auxv[0]