X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=security%2Ftomoyo%2Fdomain.c;h=682b73af77661a4c6260b9f450e015d86c453ede;hb=9beae1ea89305a9667ceaab6d0bf46a045ad71e7;hp=ade7c6cad172a13833a3b41799a142ebf4cb4f46;hpb=264800b5ecc7be49b2c6027738091ff3385e0cae;p=cascardo%2Flinux.git diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c index ade7c6cad172..682b73af7766 100644 --- a/security/tomoyo/domain.c +++ b/security/tomoyo/domain.c @@ -881,7 +881,7 @@ bool tomoyo_dump_page(struct linux_binprm *bprm, unsigned long pos, * the execve(). */ if (get_user_pages_remote(current, bprm->mm, pos, 1, - 0, 1, &page, NULL) <= 0) + FOLL_FORCE, &page, NULL) <= 0) return false; #else page = bprm->page[pos / PAGE_SIZE];