On Tue, Dec 24, 2024 at 02:11:07PM -0300, Diego Nieto Cid wrote:
> 
> I've been expanding the comment in gnumach.defs:
> 
>     /*
>      *      Set a task virtual memory limit parameters
>      *
>      *      HOST_PORT must be the privileged host control port
>      *      if the caller desires to increase the current max limit.
>      *
>      *      On the other hand, if the max limit is being decreased, the
>      *      unprivileged host name (as returned by mach_host_self()) can
>      *      be provided.
>      *
>      *      Returns:
>      *        - KERN_SUCESS when the size limit has been set
>      *        - KERN_INVALID_ARGUMENT in the following cases:
>      *            * current_limit > max_limit
>      *            * map is NULL
>      *            * attemt to increase max limi without providing
>      *              the privileged control host port.
>      */
>

I've noted the typos 'KERN_SUCESS', 'attemt' and 'limi' here. *facepalm*
 

Reply via email to