elf: Remove unused enum allowmask

Message ID 20220424232716.1440968-1-maskray@google.com
State Committed
Commit 693517b92293e7ee817acf38f227f483248d33af
Headers
Series elf: Remove unused enum allowmask |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Fangrui Song April 24, 2022, 11:27 p.m. UTC
  Unused since 52a01100ad011293197637e42b5be1a479a2f4ae.
---
 sysdeps/generic/ldsodefs.h | 11 -----------
 1 file changed, 11 deletions(-)
  

Comments

Florian Weimer April 25, 2022, 7:06 a.m. UTC | #1
* Fangrui Song:

> Unused since 52a01100ad011293197637e42b5be1a479a2f4ae.

Looks okay.

Reviewed-by: Florian Weimer <fweimer@redhat.com>

Thanks,
Florian
  

Patch

diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 29f005499b..4a5e698db2 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -235,17 +235,6 @@  struct libname_list
   };
 
 
-/* Bit masks for the objects which valid callers can come from to
-   functions with restricted interface.  */
-enum allowmask
-  {
-    allow_libc = 1,
-    allow_libdl = 2,
-    allow_libpthread = 4,
-    allow_ldso = 8
-  };
-
-
 /* DSO sort algorithm to use (check dl-sort-maps.c).  */
 enum dso_sort_algorithm
   {