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 tprintf("%#lx", tcp->u_arg[0]); 9 else 10 printstr(tcp, tcp->u_arg[0], tcp->u_rval); 11 tprintf(", %lu, ", tcp->u_arg[1]); 12 printflags(getrandom_flags, tcp->u_arg[2], "GRND_???"); 13 } 14 return 0; 15 } 16