[Bug libc/21780] New: hppa: p{read,write}v2 does not set ENOSUP on invalid flag

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Mon Jul 17 13:43:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21780

            Bug ID: 21780
           Summary: hppa: p{read,write}v2 does not set ENOSUP on invalid
                    flag
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Different than other arches hppa-linux-gnu define different values for ENOTSUP
and EOPNOTSUPP, where the later is a Linux specific one.  This leads to
tst-preadwritev{64}v2 tests failures:

$ ./testrun.sh misc/tst-preadvwritev2
error: tst-preadvwritev2-common.c:35: preadv2 failure did not set errno to
ENOTSUP (223)
error: 1 test failures

The straightforward fix is to return ENOTSUP on all p{read,write}v{64}v2
implementations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list