Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 22:05:40 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: 6d37a1670b09 - main - syscalls: mprotect does not take a const
Message-ID:  <202111292205.1ATM5euU075813@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=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
 		);



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