[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080211141612.GC20381@xi.wantstofly.org>
Date: Mon, 11 Feb 2008 15:16:12 +0100
From: Lennert Buytenhek <buytenh@...tstofly.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Adrian Bunk <adrian.bunk@...ial.fi>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org, Riku Voipio <riku.voipio@...ial.fi>,
Mikael Pettersson <mikpe@...uu.se>,
Rusty Russell <rusty@...tcorp.com.au>
Subject: Re: futex local DoS on most architectures
On Mon, Feb 11, 2008 at 02:59:34PM +0100, Thomas Gleixner wrote:
> Subject: futex: disable PI/robust on archs w/o valid implementation
> From: Thomas Gleixner <tglx@...utronix.de>
>
> We have to disable the complete PI/robust functionality for those
> archs, which do not implement futex_atomic_cmpxchg_inatomic(). The
> code in question relies on a valid implementation and does not expect
> -ENOSYS, which is returned by the stub implementation in
> asm-generic/futex.h
>
> Pointed out by: Mikael Pettersson, Riku Voipio and Adrian Bunk
FWIW, I reported it originally.
> This patch is intended for easy backporting and needs to be cleaned up
> further for current mainline.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Acked-by: Ingo Molnar <mingo@...e.hu>
Looks good to me. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists