Skip to content

Commit

Permalink
Export _mmap and __sys_mmap from libc.so
Browse files Browse the repository at this point in the history
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:	CTSRD-CHERI/cheribsd#1063
MFC after:	3 days

(cherry picked from commit 395db99)
  • Loading branch information
arichardson committed May 7, 2022
1 parent c25c8d6 commit afab9d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/libc/sys/Symbol.map
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ FBSDprivate_1.0 {
__sys_mlock;
_mlockall;
__sys_mlockall;
_mmap;
__sys_mmap;
_modfind;
__sys_modfind;
_modfnext;
Expand Down

0 comments on commit afab9d5

Please sign in to comment.