Added a helper function to translate from permissions to UNIX protection.
Added a helper function to translate from permissions to UNIX protection.

Also implemented the page size getter.

Signed-off-by: Alastair Lynn <4665d361aaf271b139147017031ea99df777ca5a@gmail.com>

prophile/llama