/*
* Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2014-2017 The strace developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
SYS_FUNC(keyctl)
{
int cmd = tcp->u_arg[0];
- kernel_ulong_t arg2 = getarg_klu(tcp, 1);
- kernel_ulong_t arg3 = getarg_klu(tcp, 2);
- kernel_ulong_t arg4 = getarg_klu(tcp, 3);
- kernel_ulong_t arg5 = getarg_klu(tcp, 4);
+ kernel_ulong_t arg2 = tcp->u_arg[1];
+ kernel_ulong_t arg3 = tcp->u_arg[2];
+ kernel_ulong_t arg4 = tcp->u_arg[3];
+ kernel_ulong_t arg5 = tcp->u_arg[4];
if (entering(tcp)) {
printxval(keyctl_commands, cmd, "KEYCTL_???");