Mapping a 0x1000 page in iOS

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

Mapping a 0x1000 page in iOS

Postby LIJI » Sun Mar 26, 2017 4:28 pm

Hey,

In A7 and A8 devices the "internal" page size in iOS is 0x1000 while the OS "exposes" a 0x4000 page size to user space.

However, considering the kernel does map pages in 0x1000 resolution, is it possible to map a 0x1000-sized page (or a page aligned to 0x1000 but not 0x4000) from user space?

The only interesting thing I could find in the sources is VM_FLAGS_RETURN_4K_DATA_ADDR, which only modifies the return value, it seems.

Thanks!
LIJI
 
Posts: 6
Joined: Sat Sep 12, 2015 5:43 pm

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest