[sudo-commits] sudo changeset 10797:76335b380d7c

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 12 10:46:12 MST 2017


changeset:	10797:76335b380d7c in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/76335b380d7c
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 12 10:44:26 2017 -0700

Log Message:
	When waiting for the parent to grant us the tty, use nanosleep
	instead of spinning to avoid hogging the CPU.

diffstat:

 MANIFEST              |   1 +
 config.h.in           |   3 ++
 configure             |  62 +++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.ac          |   6 ++++-
 include/sudo_compat.h |  14 ++++++++++-
 lib/util/Makefile.in  |   4 +++
 lib/util/nanosleep.c  |  60 +++++++++++++++++++++++++++++++++++++++++++++++++
 mkdep.pl              |   4 +-
 src/exec_pty.c        |   3 +-
 9 files changed, 152 insertions(+), 5 deletions(-)


More information about the sudo-commits mailing list