Re: [PATCH] Re: Capabilities-related change in 2.5.40

Robert Love (rml@tech9.net)
02 Oct 2002 10:33:32 -0400


On Wed, 2002-10-02 at 09:23, Daniel Jacobowitz wrote:

> How very odd. I have been running 2.5 on that machine for a while, and
> the bug only showed up somewhere between 2.5.36 and 2.5.40. Maybe a
> coincidence triggered by the PID hashing... your tabbing is a little
> odd but the patch looks right to me. Thanks!

I too wonder if the bug is due to the pid changes and not me :)

find_task_by_pid(0) should just return current, which was my intention
to avoid conditional code-paths. Maybe I should of used
find_process_by_pid()... it seems in the latest 2.5 that still returns
current if !pid, at least.

Robert Love

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