Lines Matching refs:oldact
2138 struct sigaction oldact = {};
2155 sigaction(SIGPROF, &act, &oldact);
2156 EXPECT_FALSE(oldact.sa_flags & SA_SIGINFO);
2157 EXPECT_EQ(SIG_DFL, oldact.sa_handler);
2162 sigaction(SIGPROF, &act, &oldact);
2163 EXPECT_FALSE(oldact.sa_flags & SA_SIGINFO);
2164 EXPECT_EQ(SIG_IGN, oldact.sa_handler);
2169 sigaction(SIGPROF, &act, &oldact);
2170 EXPECT_TRUE(oldact.sa_flags & SA_SIGINFO);
2171 EXPECT_EQ(&SigactionHandler, oldact.sa_sigaction);