2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-02 23:35:36 +00:00

Remove use of non-standard sigaction_t

This commit is contained in:
Todd C. Miller
2017-05-12 10:02:18 -06:00
parent b5c88e52b1
commit d979898e71
16 changed files with 14 additions and 38 deletions

View File

@@ -392,7 +392,7 @@ static int
suspend_sudo(int signo, pid_t ppgrp)
{
char signame[SIG2STR_MAX];
sigaction_t sa, osa;
struct sigaction sa, osa;
int ret = 0;
debug_decl(suspend_sudo, SUDO_DEBUG_EXEC);
@@ -1111,7 +1111,7 @@ exec_pty(struct command_details *details, struct command_status *cstat)
struct exec_closure_pty ec = { 0 };
struct plugin_container *plugin;
sigset_t set, oset;
sigaction_t sa;
struct sigaction sa;
pid_t ppgrp;
int sv[2];
debug_decl(exec_pty, SUDO_DEBUG_EXEC)