1 #include "defs.h" 2 #include "xlat/getrandom_flags.h" 3 SYS_FUNC(getrandom)4SYS_FUNC(getrandom) 5 { 6 if (exiting(tcp)) { 7 if (syserror(tcp)) 8 printaddr(tcp->u_arg[0]); 9 else 10 printstr_ex(tcp, tcp->u_arg[0], tcp->u_rval, 11 QUOTE_FORCE_HEX); 12 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]); 13 printflags(getrandom_flags, tcp->u_arg[2], "GRND_???"); 14 } 15 return 0; 16 } 17