Bug#733274: libeatmydata: eatmydata() should return -ELIBACC instead of -EFAULT if it can't find open()

2016-10-22 Thread Klee Dienes
On Wed, 2016-10-12 at 20:38 +0200, Petter Reinholdtsen wrote: > According to the POSIX specification, ELIBACC is not in the list of > expected errors from open().  See  > http://pubs.opengroup.org/onlinepubs/009695399/functions/open.h > tml > > for the full specification.   You make a good point ab

Bug#733274: libeatmydata: eatmydata() should return -ELIBACC instead of -EFAULT if it can't find open()

2016-10-12 Thread Petter Reinholdtsen
[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 b

Bug#733274: libeatmydata: eatmydata() should return -ELIBACC instead of -EFAULT if it can't find open()

2013-12-27 Thread Klee Dienes
Package: libeatmydata Version: 26-2 Severity: normal This is related to #702711, but slightly different. 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 p