Skip to content
Snippets Groups Projects
  • William Roberts's avatar
    check_seapp: correct output on invalid policy file · f7d6bb3f
    William Roberts authored
    
    If in invalid policy file is loaded check_seapp outputs:
    
    Error: Could not lod policy file to db: Success!
    
    The "Success" value is from errno, which is not manipulated
    by libsepol. Also, load should have an a in it!
    
    Hardcode the error message to:
    
    Error: Could not load policy file to db: invalid input file!
    
    Test: That when providing an invalid sepolicy binary, that the output
    message is correct.
    Change-Id: Iaf1f85eeb217d484997ee1367d91d461c1195bf4
    Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
    f7d6bb3f