Verified Commit 4f9cb830 authored by Alberto Miranda's avatar Alberto Miranda
Browse files

Merge branch...

Merge branch '78-errno-115-returned-on-successful-completion-for-several-system-calls' into 'master'

This fix contains three parts:

1. errno 115 was leaked during initialization of the client in
   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.
2. lseek() tests revealed that whence SEEK_SET was not handled
   correctly. It should not allow negative offsets.

3. All FIXME TODOs in the testing code have been removed including
   testing on the errno in a successful case because it is undefined.

Resolve "Errno 115 returned on successful completion for several system calls"

Closes #78

See merge request !65
parents 4e873c61 9608ff14
Pipeline #1281 passed with stages
in 10 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment