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 <email@example.com>
Reviewed-by: Vaibhav Rustagi <firstname.lastname@example.org>
1 file changed