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>
1 file changed
tree: 25dd88fc3223c0e95fae470c2a9bd0a98071c461
  1. .github/
  2. gatekeeper/
  3. keymaster/
  4. test/
  5. CMakeLists.txt
  6. CMakeToolchain.txt