From nobody Mon Nov 22 22:37:24 2021 X-Original-To: dev-commits-src-all@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 1E255189214B; Mon, 22 Nov 2021 22:37:26 +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 4Hyhwh6B8Jz4XlV; Mon, 22 Nov 2021 22:37:24 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3F2142D5E; Mon, 22 Nov 2021 22:37:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AMMbOQv046714; Mon, 22 Nov 2021 22:37:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AMMbOU4046713; Mon, 22 Nov 2021 22:37:24 GMT (envelope-from git) Date: Mon, 22 Nov 2021 22:37:24 GMT Message-Id: <202111222237.1AMMbOU4046713@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: 27f5b514a0db - main - syscalls: update a few return types to ssize_t List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 27f5b514a0db6b0cd0cbb257f36327143932aa87 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=27f5b514a0db6b0cd0cbb257f36327143932aa87 commit 27f5b514a0db6b0cd0cbb257f36327143932aa87 Author: Brooks Davis AuthorDate: 2021-11-22 22:36:54 +0000 Commit: Brooks Davis CommitDate: 2021-11-22 22:36:54 +0000 syscalls: update a few return types to ssize_t Reviewed by: kib --- sys/kern/syscalls.master | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 71c96896da2e..e6c65f34ec0a 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -235,21 +235,21 @@ ); } 27 AUE_RECVMSG STD|CAPENABLED { - int recvmsg( + ssize_t recvmsg( int s, _Inout_ struct msghdr *msg, int flags ); } 28 AUE_SENDMSG STD|CAPENABLED { - int sendmsg( + ssize_t sendmsg( int s, _In_ const struct msghdr *msg, int flags ); } 29 AUE_RECVFROM STD|CAPENABLED { - int recvfrom( + ssize_t recvfrom( int s, _Out_writes_bytes_(len) void *buf, size_t len, @@ -841,7 +841,7 @@ ); } 133 AUE_SENDTO STD|CAPENABLED { - int sendto( + ssize_t sendto( int s, _In_reads_bytes_(len) const void *buf, size_t len,