+1
−0
+3
−0
Loading
Closes #78 (closed)
This fix contains three parts:
init_ld_environment_(). However, the value on its own is irrelevant to this issue as all internal errno variable changes should be kept internal as it is the case during each syscall intercept hook. Therefore, the original errno variable is restored after the initialization finishes.SEEK_SET was not handled correctly. It should not allow negative offsets.errno in a successful case because it is undefined.