public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] blacklist more unsafe functions
@ 2013-02-28 16:24 Timo Juhani Lindfors
  0 siblings, 0 replies; only message in thread
From: Timo Juhani Lindfors @ 2013-02-28 16:24 UTC (permalink / raw)
  To: systemtap; +Cc: Timo Juhani Lindfors

These were found empirically. Some of the functions look innocent but
they are called from functions marked with __kprobes so they still
cause crashes. Further analysis is available at
https://lkml.org/lkml/2013/2/27/82 ("kprobing "hash_64.constprop.26"
crashes the system, recursion through get_kprobe?").
---
 dwflpp.cxx |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dwflpp.cxx b/dwflpp.cxx
index 915e286..41a57c2 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -3424,6 +3424,11 @@ dwflpp::build_blacklist()
   blfn += "|test_ti_thread_flag.*";
   blfn += "|inat_get_opcode_attribute";
   blfn += "|system_call_after_swapgs";
+  blfn += "|HYPERVISOR_[gs]et_debugreg";
+  blfn += "|HYPERVISOR_event_channel_op";
+  blfn += "|hash_64";
+  blfn += "|hash_ptr";
+  blfn += "|native_set_pte";
 
   // Lots of locks
   blfn += "|.*raw_.*_lock.*";
-- 
1.7.2.5

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-28 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-28 16:24 [PATCH] blacklist more unsafe functions Timo Juhani Lindfors

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 read-only IMAP folder(s) and NNTP newsgroup(s).