* [LTP] [PATCH 1/1] kernel/proc01: Whitelist /proc/pressure/*
@ 2019-01-28 11:14 Petr Vorel
2019-01-28 13:06 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2019-01-28 11:14 UTC (permalink / raw)
To: ltp
Kernel v4.20 added /proc/pressure/{cpu,io,memory}, when enabled
CONFIG_PSI ("Pressure stall information tracking").
When CONFIG_PSI_DEFAULT_DISABLED is also enabled (and psi=1 kernel
parameter is *not* set) these files are created, but not readable.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/kernel/fs/proc/proc01.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/fs/proc/proc01.c b/testcases/kernel/fs/proc/proc01.c
index c886e7e85..d917591bf 100644
--- a/testcases/kernel/fs/proc/proc01.c
+++ b/testcases/kernel/fs/proc/proc01.c
@@ -111,6 +111,7 @@ static const struct mapping known_issues[] = {
{"read", "/proc/sys/vm/nr_hugepages", EOPNOTSUPP},
{"read", "/proc/sys/vm/nr_overcommit_hugepages", EOPNOTSUPP},
{"read", "/proc/sys/vm/nr_hugepages_mempolicy", EOPNOTSUPP},
+ {"read", "/proc/pressure/*", EOPNOTSUPP},
{"", "", 0}
};
--
2.19.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-28 13:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 11:14 [LTP] [PATCH 1/1] kernel/proc01: Whitelist /proc/pressure/* Petr Vorel
2019-01-28 13:06 ` Cyril Hrubis
2019-01-28 13:42 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox