git: 128443a9f2b2 - main - syscalls.master: fix readv and writev iovp decl

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 23:15:52 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=128443a9f2b21df4bc844faa3a7288cd081d18c7

commit 128443a9f2b21df4bc844faa3a7288cd081d18c7
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-19 21:50:09 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-19 23:13:25 +0000

    syscalls.master: fix readv and writev iovp decl
    
    Both take const struct iovec * and only read the values.
    
    Reviewed by:    olce, kib
    Differential Revision:  https://reviews.freebsd.org/D44377
---
 sys/kern/syscalls.master | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index e85bc2796401..5775e1573c75 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -784,14 +784,14 @@
 120	AUE_READV	STD|CAPENABLED {
 		int readv(
 		    int fd,
-		    _Inout_updates_(iovcnt) _Contains_long_ptr_ struct iovec *iovp,
+		    _In_reads_(iovcnt) _Contains_long_ptr_ const struct iovec *iovp,
 		    u_int iovcnt
 		);
 	}
 121	AUE_WRITEV	STD|CAPENABLED {
 		int writev(
 		    int fd,
-		    _In_reads_opt_(iovcnt) _Contains_long_ptr_ struct iovec *iovp,
+		    _In_reads_(iovcnt) _Contains_long_ptr_ const struct iovec *iovp,
 		    u_int iovcnt
 		);
 	}