https://github.com/torvalds/linux
Revision 74910e6c7dc7471b286a883c1a7af70483ffd2ba authored by Andrew Morton on 17 February 2006, 21:52:58 UTC, committed by Linus Torvalds on 17 February 2006, 21:59:28 UTC
I got all of these backwards.  We want to return

	min(input timeout, new timeout)

to userspace to prevent increasing the time-remaining value.

Thanks to Ernst Herzberg <earny@net4u.de> for reporting and diagnosing.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 200a455
History
Tip revision: 74910e6c7dc7471b286a883c1a7af70483ffd2ba authored by Andrew Morton on 17 February 2006, 21:52:58 UTC
[PATCH] select: time comparison fixes
Tip revision: 74910e6
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 66.3 KB
Makefile -rw-r--r-- 43.8 KB
README -rw-r--r-- 15.1 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top