Re: {sys_,/dev/}epoll waiting timeout

Randy.Dunlap (rddunlap@osdl.org)
Tue, 28 Jan 2003 11:42:05 -0800 (PST)


On Wed, 22 Jan 2003, Jamie Lokier wrote:

| ps. sys_* system-call functions should never return "int". They
| should always return "long" or a pointer - even if the user-space
| equivalent returns "int". Take a look at sys_open() for an example.
| Technical requirement of the system call return path on 64-bit targets.

Is this a blanket truism? For all architectures?

Should current (older/all) syscalls be modified, or should only new ones
(like epoll) be corrected?

Thanks,

-- 
~Randy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/