(empty log message)
@@ -1429,8 +1429,12 @@ | ||
1429 | 1429 | } |
1430 | 1430 | /* Same with get_arg_page(bprm, pos, 0) in fs/exec.c */ |
1431 | 1431 | #ifdef CCS_BPRM_MMU |
1432 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) | |
1432 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) | |
1433 | 1433 | if (get_user_pages_remote(current, bprm->mm, pos, 1, FOLL_FORCE, &page, |
1434 | + NULL, NULL) <= 0) | |
1435 | + return false; | |
1436 | +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) | |
1437 | + if (get_user_pages_remote(current, bprm->mm, pos, 1, FOLL_FORCE, &page, | |
1434 | 1438 | NULL) <= 0) |
1435 | 1439 | return false; |
1436 | 1440 | #elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) |