Re: [PATCH] man2/readv.2: Unknown flags result in EOPNOTSUPP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Florian,

On 10/18/18 3:54 AM, Xiao Yang wrote:
Hi Weimer,

The same fix has been sent by us before, but it is not reviewed yet.
https://www.spinics.net/lists/linux-man/msg13392.html

Thanks. I just applied Xiao Yang's patch.

Cheers,

Michael

Best Regards,
Xiao Yang

On 2018/10/17 20:29, Florian Weimer wrote:
As reported by Adhemerval Zanella in

   <https://sourceware.org/ml/libc-alpha/2018-09/msg00519.html>

the kernel actually uses EOPNOTSUPP for the preadv2/pwritev2 system
calls, unlike some other system calls.
---
  man2/readv.2 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/readv.2 b/man2/readv.2
index 4441e92e5..2d7300750 100644
--- a/man2/readv.2
+++ b/man2/readv.2
@@ -312,7 +312,7 @@ The vector count,
  .IR iovcnt ,
  is less than zero or greater than the permitted maximum.
  .TP
-.B EINVAL
+.B EOPNOTSUPP
  An unknown flag is specified in \fIflags\fP.
  .SH VERSIONS
  .BR preadv ()






[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux