Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to prctl(2)

From: Alexey Dobriyan
Date: Sat May 04 2019 - 02:57:38 EST


On Fri, May 03, 2019 at 02:10:20PM -0400, Joel Savitz wrote:
> +/* Get the process virtual memory size (i.e. the highest usable VM address) */
> +#define PR_GET_TASK_SIZE 55

TASK_SIZE is in fact the lowest _un_usable address. :^)