From: Dmitry V. Levin Date: Sun, 2 Aug 2015 01:37:19 +0000 (+0000) Subject: timerfd, timerfd_create: mark return code with RVAL_FD flag X-Git-Tag: v4.11~291 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07c878a9b5ff9b82158c5c72b177ed9a4eb16061;p=strace timerfd, timerfd_create: mark return code with RVAL_FD flag * time.c (sys_timerfd, sys_timerfd_create): Set RVAL_FD flag in the return code. --- diff --git a/time.c b/time.c index aa065f24..dfddc456 100644 --- a/time.c +++ b/time.c @@ -636,7 +636,7 @@ SYS_FUNC(timerfd) tprints(", "); printitv(tcp, tcp->u_arg[3]); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; } SYS_FUNC(timerfd_create) @@ -645,7 +645,7 @@ SYS_FUNC(timerfd_create) tprints(", "); printflags(timerfdflags, tcp->u_arg[1], "TFD_???"); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; } SYS_FUNC(timerfd_settime)