blob: 38b92d0a43cd8c4fd0b11b046cfc2752bf7bda3d [file] [log] [blame]
#include "defs.h"
#include <fcntl.h>
#include "xlat/at_flags.h"
SYS_FUNC(link)
{
printpath(tcp, tcp->u_arg[0]);
tprints(", ");
printpath(tcp, tcp->u_arg[1]);
return RVAL_DECODED;
}
SYS_FUNC(linkat)
{
print_dirfd(tcp, tcp->u_arg[0]);
printpath(tcp, tcp->u_arg[1]);
tprints(", ");
print_dirfd(tcp, tcp->u_arg[2]);
printpath(tcp, tcp->u_arg[3]);
tprints(", ");
printflags(at_flags, tcp->u_arg[4], "AT_???");
return RVAL_DECODED;
}
SYS_FUNC(unlinkat)
{
print_dirfd(tcp, tcp->u_arg[0]);
printpath(tcp, tcp->u_arg[1]);
tprints(", ");
printflags(at_flags, tcp->u_arg[2], "AT_???");
return RVAL_DECODED;
}
SYS_FUNC(symlinkat)
{
printpath(tcp, tcp->u_arg[0]);
tprints(", ");
print_dirfd(tcp, tcp->u_arg[1]);
printpath(tcp, tcp->u_arg[2]);
return RVAL_DECODED;
}