linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] coresight: Don't use contextID with PID namespaces
@ 2018-05-15 17:13 Mathieu Poirier
  2018-05-15 17:13 ` [PATCH 1/3] coresight: etm3x: " Mathieu Poirier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mathieu Poirier @ 2018-05-15 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

Since the in-kernel value of a PID differs from what is seen from 
PID namespaces, using contextID tracing with PID namespaces makes the
feature confusing to use and potentially subject to leaking out internal
kernel information.

This set returns an error if contextID and PID namespaces are used in
conjunction and gets rid of the vpid-to-pid translation function as it
is no longer needed.

Thanks,
Mathieu

Mathieu Poirier (3):
  coresight: etm3x: Don't use contextID with PID namespaces
  coresight: etm4x: Don't use contextID with PID namespaces
  coresight: Remove function coresight_vpid_to_pid()

 drivers/hwtracing/coresight/coresight-etm.h        |  3 --
 .../hwtracing/coresight/coresight-etm3x-sysfs.c    | 43 +++++++++++++++++---
 drivers/hwtracing/coresight/coresight-etm3x.c      |  4 +-
 .../hwtracing/coresight/coresight-etm4x-sysfs.c    | 47 +++++++++++++++++-----
 drivers/hwtracing/coresight/coresight-etm4x.h      |  3 --
 include/linux/coresight.h                          | 20 ---------
 6 files changed, 76 insertions(+), 44 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-17  1:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-15 17:13 [PATCH 0/3] coresight: Don't use contextID with PID namespaces Mathieu Poirier
2018-05-15 17:13 ` [PATCH 1/3] coresight: etm3x: " Mathieu Poirier
2018-05-15 17:13 ` [PATCH 2/3] coresight: etm4x: " Mathieu Poirier
2018-05-15 17:13 ` [PATCH 3/3] coresight: Remove function coresight_vpid_to_pid() Mathieu Poirier
2018-05-16 17:44 ` [PATCH 0/3] coresight: Don't use contextID with PID namespaces Kim Phillips
2018-05-17  1:12 ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).