git: afab9d5ffe63 - stable/13 - Export _mmap and __sys_mmap from libc.so

From: Alex Richardson <arichardson_at_FreeBSD.org>
Date: Sat, 07 May 2022 15:57:09 UTC
The branch stable/13 has been updated by arichardson:

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

commit afab9d5ffe6379abfd3eb3781ada6dc51377ff50
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-09-09 10:46:53 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2022-05-07 11:55:00 +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
    
    (cherry picked from commit 395db99f32bc615a3df2cd469e9537938d022c88)
---
 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 0c446cca95d4..9150f835ae0c 100644
--- a/lib/libc/sys/Symbol.map
+++ b/lib/libc/sys/Symbol.map
@@ -762,6 +762,8 @@ FBSDprivate_1.0 {
 	__sys_mlock;
 	_mlockall;
 	__sys_mlockall;
+	_mmap;
+	__sys_mmap;
 	_modfind;
 	__sys_modfind;
 	_modfnext;