[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: task_info

From: Thomas Bushnell, BSG
Subject: Re: task_info
Date: 15 Jul 2001 18:37:00 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Marcus Brinkmann <address@hidden> writes:

> not that it matters anymore, but shouldn't task_info in gnumach/kern/task.c
> set creation_time only if task_info_count is actually big enough?
> For old callers, the current code would overflow the user buffer.
> I am just asking to know if I am right.  The chance that any old callers
> exist on some peoples system are smaller than epsilon. If I am right,
> I will make the appropriate change so people are not confused by wrong code.

The kernel's server MiG stub always has enough room, and sends back
the whole thing; the user MiG stub receives the reply message, and is
responsible for not filling in beyond the user's specified buffer.

So no bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]