commit | b742d8c1b8001dd2b8784f5a123cc8eb08f679ca | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Sep 17 22:40:12 2012 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Sep 28 01:18:43 2012 +0000 |
tree | 35c284af3a32e18a51917f1224a52d4c6505f790 | |
parent | 9a71bcdab254e4cd93b8f1e93c659644eb70ea9b [diff] |
Ignore fflush(3) return value strace used to honor fflush(3) return value in trace_syscall_entering which resulted to tracees not being PTRACE_SYSCALL'ed which in turn caused nasty hangups like this one: $ strace -o'|:' pwd |:: Broken pipe There is little strace can do in case of fflush(3) returning EOF, and hangup is certainly not the best solution for the issue. * syscall.c (trace_syscall_entering): Ignore fflush(3) return value.