git: 882d9f4507a8 - main - lib{c,sys}: expose cap_sandboxed from libc/gen

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 23:40:13 UTC
The branch main has been updated by brooks:

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

commit 882d9f4507a8fa518a967aeebd88585fb1e19a85
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-02-28 23:23:33 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-02-28 23:39:55 +0000

    lib{c,sys}: expose cap_sandboxed from libc/gen
    
    It's a thin wrapper on cap_getmode() implemented in libc, not a system
    call so the symbol should have been exposed by libc/gen/Symbol.map
    alongside the implementation.
    
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D44110
---
 lib/libc/gen/Symbol.map   | 1 +
 lib/libsys/Symbol.sys.map | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/gen/Symbol.map b/lib/libc/gen/Symbol.map
index 7b002941ea4e..0c58411168af 100644
--- a/lib/libc/gen/Symbol.map
+++ b/lib/libc/gen/Symbol.map
@@ -358,6 +358,7 @@ FBSD_1.2 {
 };
 
 FBSD_1.3 {
+	cap_sandboxed;
 	clock_getcpuclockid;
 	dirfd;
 	dup3;
diff --git a/lib/libsys/Symbol.sys.map b/lib/libsys/Symbol.sys.map
index 4b9373ffa773..ff368ebfac44 100644
--- a/lib/libsys/Symbol.sys.map
+++ b/lib/libsys/Symbol.sys.map
@@ -356,7 +356,6 @@ FBSD_1.3 {
 	cap_ioctls_limit;
 	__cap_rights_get;
 	cap_rights_limit;
-	cap_sandboxed;
 	chflagsat;
 	clock_getcpuclockid2;
 	connectat;