linux-mips
[Top] [All Lists]

Re: 64bit kernel/N32 userspace - shmctl corrupts userspace memory

To: creese@caviumnetworks.com
Subject: Re: 64bit kernel/N32 userspace - shmctl corrupts userspace memory
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed, 26 Jul 2006 12:13:02 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <44C6D3D5.9080409@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <44C6B829.8050508@caviumnetworks.com> <20060726020427.GA21024@linux-mips.org> <44C6D3D5.9080409@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 25 Jul 2006 19:30:45 -0700, Chad Reese <creese@caviumnetworks.com> 
wrote:
> compat.c is only included if CONFIG_SYSVIPC_COMPAT is defined. This
> isn't anywhere in 2.6.16.26. Is this what you're refering to?

You can add this to arch/mips/Kconfig:

config SYSVIPC_COMPAT
        bool
        depends on COMPAT && SYSVIPC
        default y

BTW, it seems many SYSVIPC functions in arch/mips/kernel/linux32.c can
be replaced by this common code.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>