]> granicus.if.org Git - strace/commit
syscall_entering_trace: set TCB_FILTERED along with TCB_HIDE_LOG
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 20 Nov 2018 04:56:30 +0000 (04:56 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 20 Nov 2018 04:56:30 +0000 (04:56 +0000)
commit422ecbe6759bd726e34914616dc2e1a1da78418a
treeb1d8e1a209514afac25d8ec9b8bf696e283aca06
parent7a4c6b715db6d751c59b0ee872a144508195b189
syscall_entering_trace: set TCB_FILTERED along with TCB_HIDE_LOG

This allows to remove some of hide_log() checks that became redundant.

* syscall.c (syscall_entering_trace): Set TCB_FILTERED along with
TCB_HIDE_LOG, remove now redundant hide_log(tcp) check.
(syscall_exiting_decode): Replace "filtered(tcp) || hide_log(tcp)"
with "filtered(tcp)".
syscall.c