]> granicus.if.org Git - sudo/commit
Store info from stat(2)ing the tty in the tty ticket when tty tickets
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jun 2010 12:00:31 +0000 (08:00 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jun 2010 12:00:31 +0000 (08:00 -0400)
commit7dca4752075b5aef4628ee6644b98d96afb82875
tree7c513c77fdd4e9d4c469de378729e94f471e166b
parent7967f60fb64cc682f92bd856a4fdd4ceb0eab2db
Store info from stat(2)ing the tty in the tty ticket when tty tickets
are in use.  If the tty lives on a devpts (Linux) or devices (Solaris)
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.

--HG--
branch : 1.7
check.c