[8/8] elf: Remove unused tunable_seclevel_t

Message ID 20260706211524.3801466-9-adhemerval.zanella@linaro.org (mailing list archive)
State New
Headers
Series Fixes for the system-wide tunables support |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_glibc_build--master-arm fail Patch failed to apply
redhat-pt-bot/TryBot-32bit fail Patch series failed to apply

Commit Message

Adhemerval Zanella July 6, 2026, 9:14 p.m. UTC
  The per-tunable security level is no longer part of struct _tunable and
no tunable in dl-tunables.list declares one.
---
 elf/dl-tunable-types.h | 14 --------------
 1 file changed, 14 deletions(-)
  

Comments

DJ Delorie July 9, 2026, 2:33 a.m. UTC | #1
LGTM
Reviewed-by: DJ Delorie <dj@redhat.com>
  

Patch

diff --git a/elf/dl-tunable-types.h b/elf/dl-tunable-types.h
index 3506eee5120..7440b6c5ce3 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
 {