signalfd, signalfd4: mark return code with RVAL_FD flag

* signalfd.c (do_signalfd): Set RVAL_FD flag in the return code.
This commit is contained in:
Дмитрий Левин 2015-08-03 09:14:28 +00:00
parent 2307d5c968
commit 9e8a84fa3d

View File

@ -13,7 +13,7 @@ do_signalfd(struct tcb *tcp, int flags_arg)
printflags(open_mode_flags, tcp->u_arg[flags_arg], "O_???");
}
return RVAL_DECODED;
return RVAL_DECODED | RVAL_FD;
}
SYS_FUNC(signalfd)