Re: [PATCH 1/6] generic sys_old_select

From: Andreas Schwab
Date: Mon Feb 01 2010 - 17:40:46 EST


Christoph Hellwig <hch@xxxxxx> writes:

> Index: linux-2.6/fs/compat.c
> ===================================================================
> --- linux-2.6.orig/fs/compat.c 2010-01-12 14:08:16.202003005 +0100
> +++ linux-2.6/fs/compat.c 2010-01-29 23:35:20.187003404 +0100
> @@ -1795,6 +1795,24 @@ asmlinkage long compat_sys_select(int n,
> return ret;
> }
>
> +struct compat_sel_arg_struct {
> + compat_ulong_t n;
> + compat_ulong_t inp;
> + compat_ulong_t outp;
> + compat_ulong_t exp;
> + compat_ulong_t tvp;
> +};

Shouldn't the last four be compat_uptr_t?

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
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/