• Nils Goroll's avatar
    Add an interposer for open() and its variants to remove the O_DIRECT flag · 2e46a921
    Nils Goroll authored
    This does not actualy fit the project name "liblongpath", but most of the
    surrounding code is identical. So for the time being I will tolerate
    the fact that liblongpath contains a little side use, but should we want
    to integrate more functionality, we should probably give the project a
    more generic name.
    
    Use of the interposer by environment variables
    
    LD_PRELOAD=<path_to_lib>
    
    * standard behaviour: map O_DIRECT to O_DSYNC for open() failing
      with EINVAL
    * set CONVODIRECT=none to just ignore O_DIRECT
    2e46a921
Name
Last commit
Last update
..
include Loading commit data...
Makefile.am Loading commit data...
liblongpath.rst Loading commit data...
longpath.c Loading commit data...
o_direct.c Loading commit data...
test.c Loading commit data...