]> granicus.if.org Git - sudo/commit
If the tty lives on a devpts filesystem, stash the ctime in the tty
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 11 May 2010 18:25:14 +0000 (14:25 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 11 May 2010 18:25:14 +0000 (14:25 -0400)
commita331dcb46a4106991e31e18e1e27d3630ccd41b5
tree03a576e7f27f71e24b2c5a76a8f77990ad34b156
parent8ea8de47fac63847cf53d134b305187489b9111f
If the tty lives on a devpts filesystem, stash the ctime in the tty
ticket file, as it is not updated when the tty is written to.
This helps us determine when a tty has been reused without the
user authenticating again with sudo.
plugins/sudoers/check.c