public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Fangrui Song <maskray@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] elf: Remove unused enum allowmask
Date: Mon, 25 Apr 2022 08:01:03 +0000 (GMT)	[thread overview]
Message-ID: <20220425080103.B80BE3858C2D@sourceware.org> (raw)

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
   {


                 reply	other threads:[~2022-04-25  8:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220425080103.B80BE3858C2D@sourceware.org \
    --to=maskray@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).