Re: [PATCH 2.6.9-rc1-mm3] [m32r] Modify sys_ipc() to remove useless iBCS2 support code

From: Arnd Bergmann
Date: Tue Sep 07 2004 - 03:06:59 EST


On Montag, 6. September 2004 14:40, Hirokazu Takata wrote:
> From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> > - please don't implement ancient backward-compat syscalls in a new
> > port (that's why we made those conditional on __ARCH_WANT_* in unistd.h,
> > but see also old_ in your arch code and the totally useless iBCS2
> > hack in the sysv ipc code)
> > - your probably want to run all this code through sparse and fix warnings
>
> The useless iBCS2 supporting code is removed.
>
> However, according to old_ syscalls, I would like to keep backward-
> compatibility for a while, due to some old deb packages and
> executables for m32r.

Actually, you should consider the complete sys_ipc interface deprecated,
just like sys_socketcall and all old_ syscalls. Neither of these should
not be added to any new architecture, because you can simply call the
underlying syscall handlers like sys_socket or sys_semop directly, like
e.g. parisc does.

I guess it would be a good idea to have architecture independent versions
of sys_pipe, sys_mmap and sys_uname in the tree so new architectures
can start with an empty sys_arch.c.

Arnd <><

Attachment: pgp00000.pgp
Description: signature