Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2024 23:15:52 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 128443a9f2b2 - main - syscalls.master: fix readv and writev iovp decl
Message-ID:  <202403192315.42JNFql1079003@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 		);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403192315.42JNFql1079003>