Loading libs/binder/tests/binderLibTest.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ #include <private/binder/binder_module.h> #include <private/binder/binder_module.h> #include <sys/epoll.h> #include <sys/epoll.h> #include <sys/prctl.h> #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) Loading Loading @@ -106,6 +107,7 @@ pid_t start_server_process(int arg2, bool usePoll = false) if (pid == -1) if (pid == -1) return pid; return pid; if (pid == 0) { if (pid == 0) { prctl(PR_SET_PDEATHSIG, SIGHUP); close(pipefd[0]); close(pipefd[0]); execv(binderservername, childargv); execv(binderservername, childargv); status = -errno; status = -errno; Loading Loading
libs/binder/tests/binderLibTest.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ #include <private/binder/binder_module.h> #include <private/binder/binder_module.h> #include <sys/epoll.h> #include <sys/epoll.h> #include <sys/prctl.h> #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) Loading Loading @@ -106,6 +107,7 @@ pid_t start_server_process(int arg2, bool usePoll = false) if (pid == -1) if (pid == -1) return pid; return pid; if (pid == 0) { if (pid == 0) { prctl(PR_SET_PDEATHSIG, SIGHUP); close(pipefd[0]); close(pipefd[0]); execv(binderservername, childargv); execv(binderservername, childargv); status = -errno; status = -errno; Loading