commit | b5a86e5ef8fb02381a4d2555f64dc976614e72e3 | [log] [tgz] |
---|---|---|
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | Tue Oct 08 11:36:15 2024 +0200 |
committer | Joakim Bech <joakim.bech@linaro.org> | Tue Oct 08 17:43:49 2024 +0200 |
tree | 25dd88fc3223c0e95fae470c2a9bd0a98071c461 | |
parent | d69daa9407d2e2f68c9e7fafdd774e7670226018 [diff] |
keymaster: Remove use of hardcoded PAGE_SIZE 4096 bionic hard-codes the PAGE_SIZE macro as 4096. This is going away as Android begins to support larger page sizes [1] Remove the usage of this hard-coded value by using getpagesize() instead as recommended by the doc [2]. [1] https://source.android.com/docs/core/architecture/16kb-page-size/16kb [2] https://source.android.com/docs/core/architecture/16kb-page-size/getting-page-size Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>