Re: [PATCH] sys_poll(): fix function definition/negative timeoutvalues

From: Eric Dumazet
Date: Thu Sep 15 2011 - 14:05:23 EST


Le jeudi 15 septembre 2011 Ã 10:47 -0700, Andi Kleen a Ãcrit :
> Thomas Meyer <thomas@xxxxxxxx> writes:
>
> > Fix negative timeout values for x86 userland on x86_64 kernels.
> > Align sys_poll() definition to glibc's definition.
>
> Nack. Please write a compat wrapper that sign extends.
>

Why ?

man poll

int poll(struct pollfd *ufds, unsigned int nfds, int delay);




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