raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3bab4cbb05cdb7bfdf03717cbdfd5514d372fe1c
commit 3bab4cbb05cdb7bfdf03717cbdfd5514d372fe1c Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Mon May 12 17:37:04 2014 +0900 enable ptrace of yama ptrace scope disabled on linux this apparently re-enabled ptracing if the kernel says "nooo". @fix --- src/bin/e_main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 22023cf..c66bc5e 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -1,4 +1,7 @@ #include "e.h" +#ifdef __linux__ +# include <sys/prctl.h> +#endif #define MAX_LEVEL 80 @@ -166,6 +169,15 @@ main(int argc, char **argv) double t = 0.0, tstart = 0.0; char *s = NULL, buff[32]; struct sigaction action; + +#ifdef __linux__ +# ifdef PR_SET_PTRACER +# ifdef PR_SET_PTRACER_ANY + prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); +# endif +# endif +#endif + #ifdef TS_DO t0 = t1 = t2 = ecore_time_unix_get(); #endif --
