diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-10 13:31:55 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-10 13:31:55 +0200 |
commit | cec06ec8282c538a40bde968ae36fe8356daffaa (patch) | |
tree | da405bd4d5f77f0e9a5f5a8a91496d328d6f3e9e /common.h | |
parent | fed1e8d33ab050df892a88110e1a316d285ee650 (diff) | |
download | ltrace-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |