From 88d791c259cc2f81b18547ae7f7859c3508cef21 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Mon, 18 Mar 2019 11:31:12 -0700 Subject: Replace use of ucontext with ucontext_t. PiperOrigin-RevId: 239026571 Change-Id: Ifd01674855094f3abad497776f418023452033a1 --- test/syscalls/linux/sigaltstack.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/syscalls') diff --git a/test/syscalls/linux/sigaltstack.cc b/test/syscalls/linux/sigaltstack.cc index fa991545c..b1845ac85 100644 --- a/test/syscalls/linux/sigaltstack.cc +++ b/test/syscalls/linux/sigaltstack.cc @@ -143,7 +143,7 @@ void badhandler(int sig, siginfo_t* siginfo, void* arg) { badhandler_recursive_faults--; Fault(); } - FixupFault(reinterpret_cast(arg)); + FixupFault(reinterpret_cast(arg)); } TEST(SigaltstackTest, WalksOffBottom) { @@ -215,7 +215,7 @@ void setonstack(int sig, siginfo_t* siginfo, void* arg) { stack.ss_size = SIGSTKSZ; setonstack_retval = sigaltstack(&stack, nullptr); setonstack_errno = errno; - FixupFault(reinterpret_cast(arg)); + FixupFault(reinterpret_cast(arg)); } TEST(SigaltstackTest, SetWhileOnStack) { -- cgit v1.2.3