Re: [PATCH] proc-based cpu affinity user interface

From: Ingo Molnar (mingo@elte.hu)
Date: Tue Nov 27 2001 - 13:46:12 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:27 EST