[LTP] [PATCH v2] getrlimit/getrlimit03: add configure-time check for struct ulimit64
    Petr Vorel 
    pvorel@suse.cz
       
    Wed Dec  5 21:33:21 CET 2018
    
    
  
Hi Greg,
> The kernel's UAPI headers export a definition of struct ulimit64 which
> can conflict with the open-coded one in getrlimit03.  Depending on the
> libc implementation, this may only be visible when _LARGEFILE64_SOURCE
> is defined.  Fix this by moving getrlimit03's definition behind a
> configure-time check.
Thanks for your patch, pushed.
Kind regards,
Petr
    
    
More information about the ltp
mailing list