about summary refs log tree commit diff
path: root/sysdeps/generic/ldsodefs.h
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-04-25 01:01:02 -0700
committerFangrui Song <maskray@google.com>2022-04-25 01:01:02 -0700
commit693517b92293e7ee817acf38f227f483248d33af (patch)
treeaae6881ed764f275a4d801dd7debdb09d948fd5e /sysdeps/generic/ldsodefs.h
parentb571f3adffdcbed23f35ea39b0ca43809dbb4f5b (diff)
downloadglibc-693517b92293e7ee817acf38f227f483248d33af.tar.gz
glibc-693517b92293e7ee817acf38f227f483248d33af.tar.xz
glibc-693517b92293e7ee817acf38f227f483248d33af.zip
elf: Remove unused enum allowmask
Unused since 52a01100ad011293197637e42b5be1a479a2f4ae
("elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]").

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r--sysdeps/generic/ldsodefs.h11
1 files changed, 0 insertions, 11 deletions
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
   {