strace/linux/arch_rt_sigframe.c
Dmitry V. Levin b93d52fe3d Change the license of strace to LGPL-2.1-or-later
strace is now provided under the terms of the GNU Lesser General
Public License version 2.1 or later, see COPYING for more details.

strace test suite is now provided under the terms of the GNU General
Public License version 2 or later, see tests/COPYING for more details.
2018-12-10 00:00:00 +00:00

15 lines
306 B
C

/*
* Copyright (c) 2017-2018 Dmitry V. Levin <ldv@altlinux.org>
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
/* This is a generic definition for compatible architectures. */
FUNC_GET_RT_SIGFRAME_ADDR
{
kernel_ulong_t sp;
return get_stack_pointer(tcp, &sp) ? sp : 0;
}