dc169af Fix memory leak in label_file, which is effecting virt

Authored and Committed by dwalsh 11 years ago
    Fix memory leak in label_file, which is effecting virt
    
    - Clean up closeonexec calls
    - Return ENOTSUP rather then EOPNOTSUPP for getfilecon calls
    - Fix potential crash in mappings handling
    
        
file added
+242
file modified
+37 -29