Re: [patch/rfc] s390: get rid of own uid16 compat system calls

From: Heiko Carstens
Date: Thu Jul 27 2006 - 02:07:04 EST


On Thu, Jul 27, 2006 at 03:03:42AM +0200, Arnd Bergmann wrote:
> On Monday 10 July 2006 10:51, Heiko Carstens wrote:
> > "Only" thing is that we unfortunately have different sizes for
> > __kernel_old_[uid|gid]_t (16 bit on s390, 32 on s390x). I was tempted to
> > change these just to find out that there are other users as well:
> >
> > include/linux/ncp_fs.h:
> > ?#define NCP_IOC_GETMOUNTUID _IOW('n', 2, __kernel_old_uid_t)
> > include/linux/smb_fs.h:
> > ?#define SMB_IOC_GETMOUNTUID _IOR('u', 1, __kernel_old_uid_t)
> >
> > So, this is no option. Would anybody know of something to get this work?
> > Or is this just a stupid idea?
>
> Ok, I don't know exactly what you're talking about, but I have in the
> past tried to hack that area as well. It's probably a good idea to
> pick up my old patch and work from there, by making these two file systems
> understand all possible ways:

I dropped my initial patch and gave up on this. The idea of using
kernel/uid16.c for compat code seems to be... not very good :)
-
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/