From 3048098843eb266d37b1d131b48cd20c02cfe341 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 11 Aug 2016 15:12:35 -0400 Subject: [PATCH] Adding /proc/timer_list to the masked paths list /proc/timer_list seems to leak information about the host. Here is an example from a busybox container running on docker+kubernetes. # cat /proc/timer_list | grep -i -e kube , hrtimer_wakeup, S:01, futex_wait_queue_me, kubelet/2497 , hrtimer_wakeup, S:01, futex_wait_queue_me, kube-proxy/3478 , hrtimer_wakeup, S:01, futex_wait_queue_me, kube-proxy/3470 , hrtimer_wakeup, S:01, futex_wait_queue_me, kubelet/2499 Signed-Off-By: Davanum Srinivas Signed-off-by: Davanum Srinivas (cherry picked from commit 03bd00b68f28062ef6b09a43a4c381af63b91673) Signed-off-by: Tibor Vass --- oci/defaults_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oci/defaults_linux.go b/oci/defaults_linux.go index 796166bdb3..5f93a9af94 100644 --- a/oci/defaults_linux.go +++ b/oci/defaults_linux.go @@ -81,6 +81,7 @@ func DefaultSpec() specs.Spec { MaskedPaths: []string{ "/proc/kcore", "/proc/latency_stats", + "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", },