]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Remove unused enum allowmask
authorFangrui Song <maskray@google.com>
Mon, 25 Apr 2022 08:01:02 +0000 (01:01 -0700)
committerFangrui Song <maskray@google.com>
Mon, 25 Apr 2022 08:01:02 +0000 (01:01 -0700)
Unused since 52a01100ad011293197637e42b5be1a479a2f4ae
("elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]").

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/generic/ldsodefs.h

index 29f005499b123a96306534b39cceb2237867410c..4a5e698db2badebd387f9d8198d86ff1c221e142 100644 (file)
@@ -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
   {