Re: [RFC: 2.6 patch] s390: use kernel/uid.c

From: Arnd Bergmann
Date: Fri Aug 15 2008 - 11:35:02 EST


On Sunday 10 August 2008, Adrian Bunk wrote:
> Unless I missed a twist the only reason for s390 to not use the code in
> kernel/uid.c was that it copied the code from sparc64 (that is now
> being changed in a similar way by David).
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>

I tried doing this before but couldn't figure out an easy way,
but the circumstances may have changed by now.

Back then, the basic problem was that CONFIG_UID16 had side-effects
that break the 64-bit versions of some syscalls. I don't see that
being the case any more, but from what I can tell, you still need
to add definitions for __kernel_old_uid_t etc on s390x.

If that does the trick, great work!

Arnd <><
--
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/