]> granicus.if.org Git - sudo/commit
When waiting for the parent to grant us the tty, use nanosleep
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 12 Jan 2017 17:44:26 +0000 (10:44 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 12 Jan 2017 17:44:26 +0000 (10:44 -0700)
commit2f0295373ad5dc1d1eee685e49ad969cd05eeaca
treea4fba10582f475c92ec6dbf26e0e7b9545e1c5b2
parent0ef26ff0b7cf827cc11e21aa7a3a06770415e760
When waiting for the parent to grant us the tty, use nanosleep
instead of spinning to avoid hogging the CPU.
MANIFEST
config.h.in
configure
configure.ac
include/sudo_compat.h
lib/util/Makefile.in
lib/util/nanosleep.c [new file with mode: 0644]
mkdep.pl
src/exec_pty.c