Skip to content
Snippets Groups Projects

keymaster: Remove use of hardcoded PAGE_SIZE 4096

Merged Mattijs Korpershoek requested to merge mkorpershoek/page-size into ti-android-15

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

/cc @JulienMasson @eblanc @glaroque

Bug: TIAU-501

Edited by Mattijs Korpershoek

Merge request reports

Approval is optional

Merged by Guillaume LA ROQUEGuillaume LA ROQUE 6 months ago (Oct 8, 2024 10:15am UTC)

Merge details

  • Changes merged into ti-android-15 with a8b020df.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading