From nobody Tue Mar 19 23:15:52 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tzndh3bHnz5FkH8; Tue, 19 Mar 2024 23:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tzndh213bz4HtY; Tue, 19 Mar 2024 23:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710890152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=InbqaSD2yMpTRUwdRgzo13ZmHBB5CfoS9JgOc4K6NEo=; b=IU9sPAG601nDMrApOiCWCT4JVTOUzl2y8btG74gb6Ly/VPlVhRfnqZp6Vnf9XK5ZsNxpfv eJbvblISGaulzmponCFP4koGdjpX8OMp2dYqEDLP7UZ+iu0JkWranL0QvPzn+o54UNVb4J K49wQ58IlDup2aOq+pvjVUYGtziaKcJcKrAKwB1OWldRqM96IehkGjho2WTJRNNKLaeiOQ SulWeCfJl6HPlQxP4lRt3/2GR638w9HgrhT1v8ZgA6tdW78Zx+YvbLGbCXBWze9LeQj2wa i8SpsYFnSXlAlUyeQMmXoRwSx5tbhNliT6I7GvAuVW4YU3NYbYFzm8Ulr3Ir7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710890152; a=rsa-sha256; cv=none; b=RTXTBaRrQfkEWYlzoOyuDEugxonfxACWKRFqWNfBLDW1l7DTtdVHby02WOoeTFQpEk7R7u U4f8v3IBHIo1ImcXsbAFSI7KH6UrbThU5knbE1+ufTsbJLPZepzW6PB5DoG/EY3hzl4U2J cIXUwhs1WSEtaPQVsMJw3AxlVnqvcmrF169TPaB7K9FFwUeiLK3IyAlrO7Bbi0oF9Cn3Cm yFtqJ6JgSiZBE3kXKT9GkwQxHC9HMvhko8cE7XbeeX7OXTEcViq9nXNTKqOUG8K3qd+jkz QJKY5cQHUfFFBOmTfzRB80IcnSsmjtqlgBzRMhLziQOnvfVVzAEurY9UnbmTpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710890152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=InbqaSD2yMpTRUwdRgzo13ZmHBB5CfoS9JgOc4K6NEo=; b=KLI3Wg94951azTGhs8nWTMC17FvZHM0rs4an4/Gu/Tu57b9yKB2zEAS6wnBfwiaJjB0Zyo 2mUdi6sWL8mIqycpe5WLnQEhXW+afsowm0UyZreNLzpADAimZxd8qZ/BjYzxkgnpNZp5eh wpgDxesf9Gf/0F9HvM+lNxc//cur77BlsIgnhhnYmj4QRUltkrtpCPvT4MFV/1rT17CxnQ ePF/UDOfVxSzC8elATfpdG2fZv235+wR68VCHSAguXYecS6D8DnflDkpdTqa/gRdEiylf4 YjhIMVodR3CKx88Jxh5XE2c6CsxcCrD0cblc9hmbxzYF3cfreAEHWLRmNyi1gw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tzndh1bV9zRvB; Tue, 19 Mar 2024 23:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42JNFqgZ079006; Tue, 19 Mar 2024 23:15:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42JNFql1079003; Tue, 19 Mar 2024 23:15:52 GMT (envelope-from git) Date: Tue, 19 Mar 2024 23:15:52 GMT Message-Id: <202403192315.42JNFql1079003@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 128443a9f2b2 - main - syscalls.master: fix readv and writev iovp decl List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 128443a9f2b21df4bc844faa3a7288cd081d18c7 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=128443a9f2b21df4bc844faa3a7288cd081d18c7 commit 128443a9f2b21df4bc844faa3a7288cd081d18c7 Author: Brooks Davis AuthorDate: 2024-03-19 21:50:09 +0000 Commit: Brooks Davis 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 ); }