git: 395db99f32bc - main - Export _mmap and __sys_mmap from libc.so

Alex Richardson arichardson at FreeBSD.org
Thu Sep 9 10:47:15 UTC 2021


The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=395db99f32bc615a3df2cd469e9537938d022c88

commit 395db99f32bc615a3df2cd469e9537938d022c88
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-09-09 10:46:53 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-09-09 10:46:53 +0000

    Export _mmap and __sys_mmap from libc.so
    
    Unlike the other syscalls these two symbols were missing from the
    version script. I noticed this while looking into the compiler-rt
    runtime libraries for CHERI.
    
    Reviewed by:    brooks
    Obtained from:  https://github.com/CTSRD-CHERI/cheribsd/pull/1063
    MFC after:      3 days
---
 lib/libc/sys/Symbol.map | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map
index eb379874c247..a70d14b51f7c 100644
--- a/lib/libc/sys/Symbol.map
+++ b/lib/libc/sys/Symbol.map
@@ -765,6 +765,8 @@ FBSDprivate_1.0 {
 	__sys_mlock;
 	_mlockall;
 	__sys_mlockall;
+	_mmap;
+	__sys_mmap;
 	_modfind;
 	__sys_modfind;
 	_modfnext;


More information about the dev-commits-src-all mailing list