[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190504065659.GA4156@avx2>
Date: Sat, 4 May 2019 09:56:59 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Joel Savitz <jsavitz@...hat.com>
Cc: linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Waiman Long <longman@...hat.com>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Kristina Martsenko <kristina.martsenko@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Cyrill Gorcunov <gorcunov@...il.com>,
Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
YueHaibing <yuehaibing@...wei.com>,
Micah Morton <mortonm@...omium.org>,
Yang Shi <yang.shi@...ux.alibaba.com>,
Jann Horn <jannh@...gle.com>,
Rafael Aquini <aquini@...hat.com>,
Michael Kerrisk <mtk.manpages@...il.com>,
Yury Norov <yury.norov@...il.com>,
David Laight <David.Laight@...lab.com>
Subject: Re: [PATCH v3 1/2] kernel/sys: add PR_GET_TASK_SIZE option to
prctl(2)
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. :^)
Powered by blists - more mailing lists