• Philippe Gerum's avatar
    lib: y2038: convert to timespec64 kernel interface · 4204f25b
    Philippe Gerum authored
    
    
    This set of changes makes libevl y2038-safe by switching to the ABI
    revision 19 of the EVL core, which generalizes the use of a 64bit
    timespec type. These changes also go a long way preparing for the
    upcoming mixed 32/64 ABI support (aka compat mode).
    
    The changes only affect the internal interface between libevl and the
    kernel, not the API.  Nevertheless, the API was bumped to revision 10
    with the removal of the evl_adjust_clock() service, which neither had
    proper specification nor defined use case currently, but would stand
    in the way of the sanitization work for y2038. At any rate, any future
    service implementing some sort of EVL clock adjustment should
    definitely not depend on the legacy struct timex which is
    y2038-unsafe.
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    4204f25b
sem.c 5.59 KB