aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-10 13:31:55 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-10 13:31:55 +0200
commitcec06ec8282c538a40bde968ae36fe8356daffaa (patch)
treeda405bd4d5f77f0e9a5f5a8a91496d328d6f3e9e /common.h
parentfed1e8d33ab050df892a88110e1a316d285ee650 (diff)
downloadltrace-cec06ec8282c538a40bde968ae36fe8356daffaa.tar.gz
Warn when we fail to trace and SELinux boolean deny_ptrace is in effect
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.h b/common.h
index fa80076..2399e29 100644
--- a/common.h
+++ b/common.h
@@ -359,6 +359,10 @@ extern int linkmap_init(Process *, struct ltelf *);
extern void arch_check_dbg(Process *proc);
extern int task_kill (pid_t pid, int sig);
+/* Called when trace_me or primary trace_pid fail. This may plug in
+ * any platform-specific knowledge of why it could be so. */
+void trace_fail_warning(pid_t pid);
+
extern struct ltelf main_lte;