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:
parent
2307d5c968
commit
9e8a84fa3d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user