aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2013-04-26 13:48:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-26 07:59:23 -0700
commit37b7f3c76595e23257f61bd80b223de8658617ee (patch)
tree7e9b3cd8a5c5b10d6ee32dc8b85c5d5211fd5eeb /Makefile
parent91d80a84bbc8f28375cca7e65ec666577b4209ad (diff)
TTY: fix atime/mtime regression
In commit b0de59b5733d ("TTY: do not update atime/mtime on read/write") we removed timestamps from tty inodes to fix a security issue and waited if something breaks. Well, 'w', the utility to find out logged users and their inactivity time broke. It shows that users are inactive since the time they logged in. To revert to the old behaviour while still preventing attackers to guess the password length, we update the timestamps in one-minute intervals by this patch. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions