Re: [PATCH] compatibility syscall layer (lets try again)

From: Jamie Lokier (
Date: Tue Dec 10 2002 - 06:08:41 EST

Linus Torvalds wrote:
> So what we do is to introduce a _new_ system call
> (system call number NNN), which takes a different form of timeout, namely
> "absolute value of end time".

An "absolute value of end time" variant of
select/poll/epoll/io_getevents would be good anyway from userspace, to
avoid the gettimeofday+poll race condition.

So, perhaps the solution here is to simply provide absolute time
variants of the system calls which currently take time delays, and
have the relative-time variants rewrite themselves into absolute form?

That's architecture neutral _and_ fixes a long-standing race

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:17 EST