X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.c;h=77392f83bacf352005d51546964a059140635898;hb=53d40413752d791483a3c1b6daca82f1e07feb81;hp=a989a702ff30d7a64786a31c94558225e58d3e2c;hpb=307a49509646a6304363135cf0790f51dfd285af;p=src%2Fapp-framework-binder.git diff --git a/src/main.c b/src/main.c index a989a702..77392f83 100644 --- a/src/main.c +++ b/src/main.c @@ -29,6 +29,10 @@ #include #include +#if !defined(NO_CALL_PERSONALITY) +#include +#endif + #include #include @@ -598,6 +602,9 @@ static void start(int signum) /* start the services */ afb_debug("start-start"); +#if !defined(NO_CALL_PERSONALITY) + personality((unsigned long)-1L); +#endif if (afb_apiset_start_all_services(main_apiset, 1) < 0) goto error;