summaryrefslogtreecommitdiff
path: root/daemon/daemon_windows.go
diff options
context:
space:
mode:
authorDaniel Zhang <jmzwcn@gmail.com>2017-01-09 09:22:05 +0800
committerDaniel Zhang <jmzwcn@gmail.com>2017-02-16 19:05:14 +0800
commitd7fda019bb7e24f42f8ae1ddecb3fd52df3c48bf (patch)
treeca51ce8eb00534fdd5634d14303f703913c3160e /daemon/daemon_windows.go
parentd26cf30a6094c22fd9d5a032faf96103f6f841dc (diff)
downloaddocker-d7fda019bb7e24f42f8ae1ddecb3fd52df3c48bf.tar.gz
Add daemon flag to set no_new_priv as default for unprivileged containers.
Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
Diffstat (limited to 'daemon/daemon_windows.go')
-rw-r--r--daemon/daemon_windows.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/daemon_windows.go b/daemon/daemon_windows.go
index 93154af1b2..6507e283c2 100644
--- a/daemon/daemon_windows.go
+++ b/daemon/daemon_windows.go
@@ -48,6 +48,10 @@ func getBlkioWeightDevices(config *containertypes.HostConfig) ([]blkiodev.Weight
return nil, nil
}
+func (daemon *Daemon) parseSecurityOpt(container *container.Container, hostConfig *containertypes.HostConfig) error {
+ return parseSecurityOpt(container, hostConfig)
+}
+
func parseSecurityOpt(container *container.Container, config *containertypes.HostConfig) error {
return nil
}