diff options
Diffstat (limited to 'open.c')
-rw-r--r-- | open.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -97,22 +97,19 @@ decode_open(struct tcb *tcp, int offset) return RVAL_FD; } -int -sys_open(struct tcb *tcp) +SYS_FUNC(open) { return decode_open(tcp, 0); } -int -sys_openat(struct tcb *tcp) +SYS_FUNC(openat) { if (entering(tcp)) print_dirfd(tcp, tcp->u_arg[0]); return decode_open(tcp, 1); } -int -sys_creat(struct tcb *tcp) +SYS_FUNC(creat) { if (entering(tcp)) { printpath(tcp, tcp->u_arg[0]); |