diff options
author | Fenghua Yu <[email protected]> | 2016-11-11 17:02:36 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-11-15 18:35:49 +0100 |
commit | f57b308728902d9ffade53466e9201e999a870e4 (patch) | |
tree | 42a8304a80b5ab8a9ca8ea591035621d843ffa5f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 458b0d6e751b04216873a5ee9c899be2cd2f80f3 (diff) |
x86/intel_rdt: Protect info directory from removal
The info directory and the per-resource subdirectories of the info
directory have no reference to a struct rdtgroup in kn->priv. An attempt to
remove one of those directories results in a NULL pointer dereference.
Protect the directories from removal and return -EPERM instead of -ENOENT.
[ tglx: Massaged changelog ]
Signed-off-by: Fenghua Yu <[email protected]>
Cc: "Ravi V Shankar" <[email protected]>
Cc: "Tony Luck" <[email protected]>
Cc: "Sai Prakhya" <[email protected]>
Cc: "Vikas Shivappa" <[email protected]>
Cc: "Ingo Molnar" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions