[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2boulg0pe.fsf@firstfloor.org>
Date: Thu, 15 Sep 2011 10:44:13 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Thomas Meyer <thomas@...3r.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
viro@...iv.linux.org.uk, mingo@...hat.com
Subject: Re: a question regarding sys_poll() on x86_64 via tha ia32 layer
Eric Dumazet <eric.dumazet@...il.com> writes:
>
> SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
> - long, timeout_msecs)
> + int, timeout_msecs)
The preferred fix is normally to write a compat wrapper that sign
extends.
Maybe someone on 64bit really wants to wait for a long time, but
not forever.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists