This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: pwritev2 regression test for invalid flags
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Stephen Bates <sbates at raithlin dot com>, Christoph Hellwig <hch at infradead dot org>, Jon Derrick <jonathan dot derrick at intel dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "linux-block at vger dot kernel dot org" <linux-block at vger dot kernel dot org>, Christoph Hellwig <hch at lst dot de>, Jens Axboe <axboe at fb dot com>, "viro at zeniv dot linux dot org dot uk" <viro at zeniv dot linux dot org dot uk>
- Date: Wed, 21 Jun 2017 15:19:32 +0200
- Subject: Re: pwritev2 regression test for invalid flags
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 535C7C04B303
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 535C7C04B303
- References: <A4491A52-483F-47CD-8248-04C519C126C2@raithlin.com> <febd41fd-af60-040d-e16e-a7566b57583b@redhat.com> <cd8eafd8-76c7-5215-1aea-457e259f85af@linaro.org> <791e2720-aad6-2084-4d47-eb4d6b9acfe2@redhat.com> <a85b46a7-152b-6601-ace2-53acd645119e@linaro.org>
On 06/21/2017 03:11 PM, Adhemerval Zanella wrote:
> Yes, we will need to update the testcase in case of newer flags additions.
> But since the flags are currently defined within GLIBC not pulling from
> kernel header I think we will have more control over it.
But that doesn't really matter because we need something to trigger
EINVAL from the running kernel. -1 should be safe for now, though.
Florian