namespace: clarify that /proc/apm is obsolete, but leave it blocked
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Nov 2016 17:10:01 +0000 (18:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Nov 2016 17:10:30 +0000 (18:10 +0100)
src/core/namespace.c

index 11d0924..e9ad26b 100644 (file)
@@ -79,7 +79,7 @@ static const BindMount protect_kernel_tunables_table[] = {
         { "/proc/sysrq-trigger", READONLY,     true  },
         { "/proc/latency_stats", READONLY,     true  },
         { "/proc/mtrr",          READONLY,     true  },
-        { "/proc/apm",           READONLY,     true  },
+        { "/proc/apm",           READONLY,     true  }, /* Obsolete API, there's no point in permitting access to this, ever */
         { "/proc/acpi",          READONLY,     true  },
         { "/proc/timer_stats",   READONLY,     true  },
         { "/proc/asound",        READONLY,     true  },