[Klee Dienes 2013-12-27]
> EFAULT is confusing to the naive user of libeatmydata, who sees only a
> call to open() returning an errno of EFAULT and is therefore tempted
> to try to figure out what is wrong with his or her pointer (not
> realizing that open() has been replaced).
> 
> ELIBACC would be closer to the truth of what has gone wrong and a
> useful clue that shared-library shenanigans are involved.

According to the POSIX specification, ELIBACC is not in the list of
expected errors from open().  See 
<URL: http://pubs.opengroup.org/onlinepubs/009695399/functions/open.html >
for the full specification.

Can you provide some example code explaining what kind of error you believe
should cause open() to return ELIBACC?
-- 
Happy hacking
Petter Reinholdtsen

Reply via email to