[glibc] elf: Remove unused tunable_seclevel_t

Adhemerval Zanella via Glibc-cvs <[email protected]> Mon, 13 Jul 2026 16:56:37 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1c0531af67926aae72584055d6603764c88f34b6

commit 1c0531af67926aae72584055d6603764c88f34b6
Author: Adhemerval Zanella <[email protected]>
Date:   Mon Jul 6 16:56:35 2026 -0300

    elf: Remove unused tunable_seclevel_t
    
    The per-tunable security level is no longer part of struct _tunable and
    no tunable in dl-tunables.list declares one.
    
    Reviewed-by: DJ Delorie <[email protected]>

Diff:
---
 elf/dl-tunable-types.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/elf/dl-tunable-types.h b/elf/dl-tunable-types.h
index 3506eee512..7440b6c5ce 100644
--- a/elf/dl-tunable-types.h
+++ b/elf/dl-tunable-types.h
@@ -42,20 +42,6 @@ typedef struct
   tunable_num_t max;
 } tunable_type_t;
 
-/* Security level for tunables.  This decides what to do with individual
-   tunables for AT_SECURE binaries.  */
-typedef enum
-{
-  /* Erase the tunable for AT_SECURE binaries so that child processes don't
-     read it.  */
-  TUNABLE_SECLEVEL_SXID_ERASE = 0,
-  /* Ignore the tunable for AT_SECURE binaries, but don't erase it, so that
-     child processes can read it.  */
-  TUNABLE_SECLEVEL_SXID_IGNORE = 1,
-  /* Read the tunable.  */
-  TUNABLE_SECLEVEL_NONE = 2,
-} tunable_seclevel_t;
-
 /* A tunable.  */
 struct _tunable
 {