git: 6d37a1670b09 - main - syscalls: mprotect does not take a const

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Mon, 29 Nov 2021 22:05:40 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d37a1670b090a3224cbba8488b445c3990bf298

commit 6d37a1670b090a3224cbba8488b445c3990bf298
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-11-29 22:03:00 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
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
 		);