diff mbox series

[v3,4/4] libselinux: drop symbols from map

Message ID 20200228154857.587-5-william.c.roberts@intel.com (mailing list archive)
State Changes Requested
Headers show
Series [v3,1/4] dso: drop hidden_proto and hidden_def | expand

Commit Message

William Roberts Feb. 28, 2020, 3:48 p.m. UTC
From: William Roberts <william.c.roberts@intel.com>

Previously, libselinux was exporting the following symbols:
  - dir_xattr_list;
  - map_class;
  - map_decision;
  - map_perm;
  - myprintf_compat;
  - unmap_class;
  - unmap_perm;

However, these appear to be unused and can safely be dropped.

This is done as a seperate commit to so it can easily be reverted
seperately for any reasons.

Signed-off-by: William Roberts <william.c.roberts@intel.com>
---
 libselinux/src/libselinux.map | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/libselinux/src/libselinux.map b/libselinux/src/libselinux.map
index 73f4c072af02..2a368e93f9fd 100644
--- a/libselinux/src/libselinux.map
+++ b/libselinux/src/libselinux.map
@@ -37,7 +37,6 @@  LIBSELINUX_1.0 {
     context_type_set;
     context_user_get;
     context_user_set;
-    dir_xattr_list;
     fgetfilecon;
     fgetfilecon_raw;
     fini_selinuxmnt;
@@ -80,9 +79,6 @@  LIBSELINUX_1.0 {
     lsetfilecon;
     lsetfilecon_raw;
     manual_user_enter_context;
-    map_class;
-    map_decision;
-    map_perm;
     matchmediacon;
     matchpathcon;
     matchpathcon_checkmatches;
@@ -94,7 +90,6 @@  LIBSELINUX_1.0 {
     matchpathcon_init;
     matchpathcon_init_prefix;
     mode_to_security_class;
-    myprintf_compat;
     print_access_vector;
     query_user_context;
     realpath_not_final;
@@ -242,8 +237,6 @@  LIBSELINUX_1.0 {
     sidput;
     string_to_av_perm;
     string_to_security_class;
-    unmap_class;
-    unmap_perm;
   local:
     *;
 };