diff options
Diffstat (limited to 'tapset/aux_syscalls.stp')
-rw-r--r-- | tapset/aux_syscalls.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 3fb65c1c..3e31ffbc 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1085,6 +1085,14 @@ function _msync_flag_str(f) { /* `man wait4` for more information */ function _wait4_opt_str(f) { + if(f & 8) bs="WCONTINUED|".bs + if(f & 2) bs="WUNTRACED|".bs + if(f & 1) bs="WNOHANG|".bs + return substr(bs,0,strlen(bs)-1) +} + +/* `man waitid` for more information */ +function _waitid_opt_str(f) { if(f & 0x01000000) bs="WNOWAIT|".bs if(f & 8) bs="WCONTINUED|".bs if(f & 4) bs="WEXITED|".bs |