diff options
author | Laura Abbott <labbott@redhat.com> | 2016-07-19 15:00:04 -0700 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-08-27 11:23:38 +0800 |
commit | 472dd6904d7bfd38d86ec3b8071b7260b51c290d (patch) | |
tree | e43df6eb13252383828a013515104c2337e58c1d /lib/strncpy_from_user.c | |
parent | 21a48ffe4dff2194cceeecad0436d920c267027c (diff) |
mm: Add is_migrate_cma_page
Code such as hardened user copy[1] needs a way to tell if a
page is CMA or not. Add is_migrate_cma_page in a similar way
to is_migrate_isolate_page.
[1]http://article.gmane.org/gmane.linux.kernel.mm/155238
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit 7c15d9bb8231f998ae7dc0b72415f5215459f7fb)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions