public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: Remove unused enum allowmask
@ 2022-04-25  8:01 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2022-04-25  8:01 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=693517b92293e7ee817acf38f227f483248d33af

commit 693517b92293e7ee817acf38f227f483248d33af
Author: Fangrui Song <maskray@google.com>
Date:   Mon Apr 25 01:01:02 2022 -0700

    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>

Diff:
---
 sysdeps/generic/ldsodefs.h | 11 -----------
 1 file changed, 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
   {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-25  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25  8:01 [glibc] elf: Remove unused enum allowmask Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).