Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 27 Nov 2001 11:48:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 27 Nov 2001 11:48:31 -0500 Received: from mx2.elte.hu ([157.181.151.9]:52968 "HELO mx2.elte.hu") by vger.kernel.org with SMTP id ; Tue, 27 Nov 2001 11:48:26 -0500 Date: Tue, 27 Nov 2001 19:46:12 +0100 (CET) From: Ingo Molnar Reply-To: To: Davide Libenzi Cc: linux-kernel Subject: Re: [PATCH] proc-based cpu affinity user interface In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Nov 2001, Davide Libenzi wrote: > The snippet I sent yesterday should be corrected by checking if > cpu_{number,logical}_map(ii) is != -1 to avoid incorrect bit settings, > expecially from mask coming from user side. indeed. New patch is at: http://redhat.com/~mingo/set-affinity-patches/set-affinity-2.4.16-A1 (the buggy function was not a security problem, it just produces unexpected bitmaps.) Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/