623e4f0 1/1] Make the ability to mmap zero conditional where this is fapplicable.

6 files Authored by Dominick Grift 13 years ago, Committed by Chris PeBenito 13 years ago,
    1/1] Make the ability to mmap zero conditional where this is fapplicable.
    
    Retry: forgot to include attribute mmap_low_domain_type attribute to domain_mmap_low()	:
    
    Inspired by similar implementation in Fedora.
    Wine and vbetool do not always actually need the ability to mmap a low area of the address space.
    In some cases this can be silently denied.
    
    Therefore introduce an interface that facilitates "mmap low" conditionally, and the corresponding boolean.
    Also implement booleans for wine and vbetool that enables the ability to not audit attempts by wine and vbetool to mmap a low area of the address space.
    
    Rename domain_mmap_low interface to domain_mmap_low_uncond.
    
    Change call to domain_mmap_low to domain_mmap_low_uncond for xserver_t. Also move this call to distro redhat ifndef block because Redhat does not need this ability.
    
    Signed-off-by: Dominick Grift <domg472@gmail.com>
    
        
file modified
+4 -0
file modified
+11 -0