Re: [PATCH 3/3] generic sys_ipc wrapper

Al Viro
2010-01-06T18:22:13Z

On Wed, Jan 06, 2010 at 06:21:52PM +0100, Christoph Hellwig wrote:

> Except for that h8300, m68k and m68knommu lack an impplementation of the
> semtimedop sub call which this patch adds, and various architectures have
> different strategies for the SHMAT version 1 case which apparently never
> gets used - at least on i386 it seems superflous as the compat code on
> x86-64 and ia64 doesn't even bother to implement it.

Kill the SHMAT crap; it's _not_ a part of user-visible API (note that it
checks that we'd come there with KERNEL_DS).

It had been a one-time kludge for ibcs2 module. Blindly copied to
architectures than never had that shite at all, not that it had survived
even on i386 past 2.2.x (2.4 analog doesn't use that thing).

Just make it fail with -EINVAL in that case.