[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4a4634330804141136xcaf098esf02539bf76917781@mail.gmail.com>
Date: Mon, 14 Apr 2008 13:36:42 -0500
From: "Shirish Pargaonkar" <shirishpargaonkar@...il.com>
To: linux-kernel@...r.kernel.org
Subject: valid task structure and wake_up_process
How do I check whether a task is valid before calling wake_up_process() with
that task structure pointer?
I could call wake_up_process with a task structure that is corrupt or incorrect
and that could cause a system crash, so I wanted to do a sanity check of
the task structure.
I do not subscribe to this list, so please copy me you responses.
Regards,
Shirish
--
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