From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Keno Fischer <keno@juliacomputing.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
mkoutny@suse.com, ktkhai@virtuozzo.com
Subject: Re: brk checks in PR_SET_MM code
Date: Thu, 17 Dec 2020 10:42:02 +0300 [thread overview]
Message-ID: <20201217074202.GD14556@grain> (raw)
In-Reply-To: <CABV8kRwoHAAdez8k60O+AJ9E3g5_PM0F6tpbpB9dC115_FD3Eg@mail.gmail.com>
On Wed, Dec 16, 2020 at 08:29:30PM -0500, Keno Fischer wrote:
> Hi all,
>
> The code in prctl(PR_SET_MM, ...) performs a number of sanity checks,
> among them
>
> ```
> /*
> * @brk should be after @end_data in traditional maps.
> */
> if (prctl_map->start_brk <= prctl_map->end_data ||
> prctl_map->brk <= prctl_map->end_data)
> goto out;
> ```
>
Thanks for pointing, Keno! I don't remember the details right now,
gimme some time and once I refresh my memory I'll reply with
details.
next prev parent reply other threads:[~2020-12-17 7:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 1:29 brk checks in PR_SET_MM code Keno Fischer
2020-12-17 7:42 ` Cyrill Gorcunov [this message]
2020-12-17 21:28 ` Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201217074202.GD14556@grain \
--to=gorcunov@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=keno@juliacomputing.com \
--cc=ktkhai@virtuozzo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mkoutny@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).