Re: [PATCH 3/3] generic sys_ipc wrapper

From: Al Viro
Date: Wed Jan 06 2010 - 13:22:18 EST


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