5 #ifndef AT_SYMLINK_NOFOLLOW
6 # define AT_SYMLINK_NOFOLLOW 0x100
9 # define AT_REMOVEDIR 0x200
11 #ifndef AT_SYMLINK_FOLLOW
12 # define AT_SYMLINK_FOLLOW 0x400
14 #ifndef AT_NO_AUTOMOUNT
15 # define AT_NO_AUTOMOUNT 0x800
18 # define AT_EMPTY_PATH 0x1000
21 #include "xlat/at_flags.h"
24 sys_link(struct tcb *tcp)
27 printpath(tcp, tcp->u_arg[0]);
29 printpath(tcp, tcp->u_arg[1]);
35 sys_linkat(struct tcb *tcp)
38 print_dirfd(tcp, tcp->u_arg[0]);
39 printpath(tcp, tcp->u_arg[1]);
41 print_dirfd(tcp, tcp->u_arg[2]);
42 printpath(tcp, tcp->u_arg[3]);
44 printflags(at_flags, tcp->u_arg[4], "AT_???");
50 sys_unlinkat(struct tcb *tcp)
53 print_dirfd(tcp, tcp->u_arg[0]);
54 printpath(tcp, tcp->u_arg[1]);
56 printflags(at_flags, tcp->u_arg[2], "AT_???");
62 sys_symlinkat(struct tcb *tcp)
65 printpath(tcp, tcp->u_arg[0]);
67 print_dirfd(tcp, tcp->u_arg[1]);
68 printpath(tcp, tcp->u_arg[2]);