17 May 2013 12:43
UML vs ptrace_scope
Michael Richardson <mcr+osw <at> sandelman.ca>
2013-05-17 10:43:03 GMT
2013-05-17 10:43:03 GMT
I have been trying to bring the openswan nightly build system up again on a newish system. I started these scripts back in 2002, and it has been running on and off for many years, and many kernel revisions. I started this most recent effort work when 3.5 was stable, so my guest kernel is a 3.5 kernel running on a debian squeeze host with a 2.6.26 kernel. I compile things fine. With 2.6.26, I got: ... Checking that ptrace can change system call numbers...ptrace: Operation not permitted check_ptrace : expected SIGSTOP, got status = 9 I upgraded to wheezy (needed to be done anyway), and then felt that I ran run into the ptrace_scope problem. At least, that's what I thought. I installed a 3.8 debian kernel tree, patched it to enable YAMA, and booted that finally. I set: kernel.yama.ptrace_scope = 0 but this does not affect the above error. Is there something else I am missing? I tried adding the capability, but it doesn't help. curley-[~] mcr 10001 %sudo /sbin/setcap cap_sys_ptrace+ep /btmp/build/HEAD/2013_05_12/openswan-2/UMLPOOL/plain26/linux [sudo] password for mcr: curley-[~] mcr 10002 %sudo /sbin/getcap /btmp/build/HEAD/2013_05_12/openswan-2/UMLPOOL/plain26/linux /btmp/build/HEAD/2013_05_12/openswan-2/UMLPOOL/plain26/linux =(Continue reading)

RSS Feed