From nobody Mon Nov 29 22:05:40 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 C0F5A18C7F36; Mon, 29 Nov 2021 22:05:44 +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 4J2ztt3Cr1z3GY7; Mon, 29 Nov 2021 22:05:41 +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 5DE6A269B; Mon, 29 Nov 2021 22:05:40 +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 1ATM5eKQ075814; Mon, 29 Nov 2021 22:05:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ATM5euU075813; Mon, 29 Nov 2021 22:05:40 GMT (envelope-from git) Date: Mon, 29 Nov 2021 22:05:40 GMT Message-Id: <202111292205.1ATM5euU075813@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: 6d37a1670b09 - main - syscalls: mprotect does not take a const 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: 6d37a1670b090a3224cbba8488b445c3990bf298 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638223543; 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=aXo+hmjE4DiM0H95oopI+U02xY5rMroSOeevbB1bCfg=; b=oMAIEyZUd40PQI6MP47kYI2blQb3hlauybhL6WbSaAOjtV4cR1Ke1VdLmi85Cj8ghs14RH RtYo0gFtLy3gPgu9IaPAcdeJa/eZhyyvqx9voRvY0fh0mUPKuXw/4bdmwyiDmr2ezQ/taO Lz2U4DhbE+JZ4NRdMDODO+kRppjIVVRgy/zX2voSa5lsWbolKtTY2BYux7IlVjjfVvtGKp B6Izh8P+DANEjDrpJ8R+5u9wayC9vBsWlUXo0vlddc3EzEyGoBYfWW9+p1iH3h1wJeudXu KfbIZjuSeh3Y+90FgQlUivFOuJfh+7MxHd9ky6fuSCo6VjAVgwbrn+BGsRt0TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638223543; a=rsa-sha256; cv=none; b=OmegQs5fM6ey/B+3q2OSc/Etel3JSjq2RLcIjLhPj8Lc8sFVVXc+QX2kXCC5kzv4wlQ0Kn FXEa6X3GXWG1WV+xhzYUJTkpdN89xcKRTrFgfVcTE7o3ibRYdcocatULUwuJN62AhlqNAy 9y6Av0qkPx10nnb/LuKYqdRlc5d45qP2FwfsMq066dGsiEmueA1SrGjnaCqtN9hskUXMpO Yb8vY18yLnERZ/uuQBHQmk5z77IsdVgv3cIp/JVzxvTm4dXm46XzOPsTjVJjExYAdZE5m3 5ovy7NVrUS9nLssiob7q/LiB44cWJSeHvWiEVyKG5wk7voqpeHV9RUr12kwzbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=6d37a1670b090a3224cbba8488b445c3990bf298 commit 6d37a1670b090a3224cbba8488b445c3990bf298 Author: Brooks Davis AuthorDate: 2021-11-29 22:03:00 +0000 Commit: Brooks Davis CommitDate: 2021-11-29 22:04:47 +0000 syscalls: mprotect does not take a const The mprotect syscall decleration is not const. I added this one incorrectly in a944d28d0edf7ceb1bef4d789dfa4e8e18331658. Reported by: kib Reviewed by: kib, imp --- sys/kern/syscalls.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 92cc727f22c9..543940fc2b97 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -534,7 +534,7 @@ } 74 AUE_MPROTECT STD|CAPENABLED { int mprotect( - _In_ const void *addr, + _In_ void *addr, size_t len, int prot );