1 2 3 4 5 6 7 8 9 10
#include "defs.h" int sys_umask(struct tcb *tcp) { if (entering(tcp)) { tprintf("%#lo", tcp->u_arg[0]); } return RVAL_OCTAL; }