All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] UML vs ptrace_scope
@ 2013-05-17 10:43 Michael Richardson
  0 siblings, 0 replies; only message in thread
From: Michael Richardson @ 2013-05-17 10:43 UTC (permalink / raw)
  To: user-mode-linux-devel


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 =
cap_sys_ptrace+ep

No I suspect the problem is elsewhere.
Is there something else I am missing?

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [ 
]   Michael Richardson, Sandelman Software Works        | network architect  [ 
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [ 
	


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-17 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 10:43 [uml-devel] UML vs ptrace_scope Michael Richardson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.