17a56db Ticket 48846 - Rlimit checks should detect RLIM_INFINITY

Authored and Committed by William Brown 7 years ago
    Ticket 48846 - Rlimit checks should detect RLIM_INFINITY
    
    Bug Description:  On certain platforms (32 bit) it was possible for dsktune and
    other checks to fail as rlim.cur and rlim.max was -1. This would result in a
    pattern of rlim.cur < some base limit, failing, even though rlimit implied
    infinite. This did not affect 64bit platforms as rlim_infinity for them is
    uint64 max.
    
    Fix Description:  Fix our various checks to look for and detect RLIM_INFINITY
    when set correctly.
    
    https://fedorahosted.org/389/ticket/48846
    
    Author: wibrown
    
    Review by: nhosoi (Thanks!)
    
        
file modified
+22 -9
file modified
+22 -3