]> granicus.if.org Git - sudo/commit
Use btime in /proc/stat to determine system start time instead of
authorTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 4 Apr 2018 17:28:53 +0000 (11:28 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 4 Apr 2018 17:28:53 +0000 (11:28 -0600)
commit512e0be8344f167b14ebce77c15f45e5671fb265
tree924ca99a8869786a15f2612dce7e358d6bde05eb
parent7663ae7b27d64208910307f18a686197f22faf4c
Use btime in /proc/stat to determine system start time instead of
/proc/uptime.  Fixes the process start time test when run from a
container where /proc/uptime is the uptime of the container but the
process start time is relative to the host system boot time.
Bug #829
plugins/sudoers/regress/starttime/check_starttime.c