security: bug fix: incorrect bprm->vma_pages prevent capturing all stack pages
The bprm->vma_pages field is used for quota only and not accurate for
the number of pages used on the stack. Instead, the vma_pages function
should be used to get an exact count.
TEST=Ran test on GKE and internal pipeline.
Signed-off-by: Thomas Garnier <firstname.lastname@example.org>
Reviewed-by: Vaibhav Rustagi <email@example.com>
1 file changed