diff options
author | Kossi Glokpor <hotkatz32@gmail.com> | 2023-04-03 19:13:29 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-04-03 19:13:29 +0000 |
commit | d3b97fce7229fa8db7a87e03fcd445b8f97fe743 (patch) | |
tree | c466bd7765ff0cd32bf5e813d1b42dd3b81df5b8 | |
parent | e6a9253aad3a51243b7c360cbc86ee01b08a018b (diff) | |
download | strace-d3b97fce7229fa8db7a87e03fcd445b8f97fe743.tar.gz |
open_by_handle_at: add RVAL_FD to return value
Mark the return value of open_by_handle_at decoder as a file descriptor.
* src/file_handle.c (SYS_FUNC(open_by_handle_at)): Add RVAL_FD flag
to the return value.
Signed-off-by: Kossi Glokpor <hotkatz32@gmail.com>
Fixes: v4.11~121 "Implement name_to_handle_at and open_by_handle_at syscalls decoding"
-rw-r--r-- | src/file_handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_handle.c b/src/file_handle.c index 7a6ef1022..29a95a4d5 100644 --- a/src/file_handle.c +++ b/src/file_handle.c @@ -124,5 +124,5 @@ SYS_FUNC(open_by_handle_at) /* flags */ tprint_open_modes(tcp->u_arg[2]); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; } |