mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 22:05:46 +00:00
Add debug tracing to tcsetattr_nobg().
This commit is contained in:
@@ -115,6 +115,7 @@ tcsetattr_nobg(int fd, int flags, struct termios *tp)
|
||||
{
|
||||
struct sigaction sa, osa;
|
||||
int rc;
|
||||
debug_decl(tcsetattr_nobg, SUDO_DEBUG_UTIL);
|
||||
|
||||
/*
|
||||
* If we receive SIGTTOU from tcsetattr() it means we are
|
||||
@@ -131,7 +132,7 @@ tcsetattr_nobg(int fd, int flags, struct termios *tp)
|
||||
} while (rc != 0 && errno == EINTR && !got_sigttou);
|
||||
sigaction(SIGTTOU, &osa, NULL);
|
||||
|
||||
return rc;
|
||||
debug_return_int(rc);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user