[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] outreachy task - adding information to debug prints
There is a function uk_thread_current of the uksched library that returns the current thread. It gets the current stack pointer by calling ukplat_thread_ctx_current and then calls __containerof to get the thread from it. The problem is that there is no checking if the current thread was created by the library. If the current thread was not created with uksched (the initial thread for example) then this pointer is invalid. Dafna On Mon, Mar 12, 2018 at 9:04 PM, Dafna Hirschfeld <dafna3@xxxxxxxxx> wrote:
_______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |