Messages in this thread | | | Date | Wed, 2 Jun 2004 03:04:18 +1000 | From | Anton Blanchard <> | Subject | Re: compat syscall args |
| |
> It would be better to do this consistently over all architectures > and do the sign extension (which is much less common than zero > extension) always in C code. Then when someone adds a new compat > handler the chances are high that it will just work over multiple > architectures (ok minus s390) without much more changes.
On ppc64 we now zero extend all arguments. I too would like to see the sign extension done in the common compat code, at the moment we have to be careful to do it before calling compat code.
Anton - 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/
| |