elf: Add translation function between vm_prot_t and p_flags
authorJohn Marino <draco@marino.st>
Sat, 21 Jan 2012 19:48:38 +0000 (20:48 +0100)
committerJohn Marino <draco@marino.st>
Mon, 23 Jan 2012 16:13:18 +0000 (17:13 +0100)
commit565fefef27d4ee677dfea0cc9390ae5bd5da5bb1
treecc695cbe57d454997ed6c91b94a8b8339bb53d29
parent0e759e7dc21a942afacc8237f8bb714f62bb667f
elf: Add translation function between vm_prot_t and p_flags

No functionality added, just refactors code.  This will be useful if
stack protection is implemented in the future.
sys/kern/imgact_elf.c