commit | cec06ec8282c538a40bde968ae36fe8356daffaa | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Tue Apr 10 13:31:55 2012 +0200 |
committer | Petr Machata <pmachata@redhat.com> | Tue Apr 10 13:31:55 2012 +0200 |
tree | da405bd4d5f77f0e9a5f5a8a91496d328d6f3e9e | |
parent | fed1e8d33ab050df892a88110e1a316d285ee650 [diff] [blame] |
Warn when we fail to trace and SELinux boolean deny_ptrace is in effect
diff --git a/proc.c b/proc.c index 106b6a0..ded0c95 100644 --- a/proc.c +++ b/proc.c
@@ -94,6 +94,7 @@ if (open_one_pid(pid)) { fprintf(stderr, "Cannot attach to pid %u: %s\n", pid, strerror(errno)); + trace_fail_warning(pid); return; }