Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2017-05-11 23:54:40 +0000
committerJeff Johnston2017-05-12 01:35:56 +0000
commit88c6da2e40b730f4ae93c0de0f3bc4c80f07a3fb (patch)
tree86c04eb6992f4989ed92da66756abff22068a1dd /launch/org.eclipse.cdt.docker.launcher
parentb10156e36d7f328ae4b2cd6f754db20faea31348 (diff)
downloadorg.eclipse.cdt-88c6da2e40b730f4ae93c0de0f3bc4c80f07a3fb.tar.gz
org.eclipse.cdt-88c6da2e40b730f4ae93c0de0f3bc4c80f07a3fb.tar.xz
org.eclipse.cdt-88c6da2e40b730f4ae93c0de0f3bc4c80f07a3fb.zip
Add seccomp:unconfined option when debugging using a Container
- current Docker daemons don't allow ptrace in the default seccomp profile so specify "seccomp:unconfined" when kicking off the gdbserver Change-Id: I742a99221c897a553a46bc768e713d74b1fda22e
Diffstat (limited to 'launch/org.eclipse.cdt.docker.launcher')
-rw-r--r--launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerLaunchConfigurationDelegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerLaunchConfigurationDelegate.java b/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerLaunchConfigurationDelegate.java
index b53a30df818..4f74b99ab7d 100644
--- a/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerLaunchConfigurationDelegate.java
+++ b/launch/org.eclipse.cdt.docker.launcher/src/org/eclipse/cdt/internal/docker/launcher/ContainerLaunchConfigurationDelegate.java
@@ -243,7 +243,7 @@ public class ContainerLaunchConfigurationDelegate extends GdbLaunchDelegate
image, command,
commandDir, workingDir, additionalDirs, origEnv,
envMap, ports, keepContainer, supportStdin,
- privilegedMode, labels);
+ privilegedMode, labels, "seccomp:unconfined"); //$NON-NLS-1$
// wait until gdbserver is started successfully and we have its
// ip address or

Back to the top