[PATCH 8/8] elf: Remove unused tunable_seclevel_t
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Jul 6 21:14:44 GMT 2026
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(-)
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
{
--
2.43.0
More information about the Libc-alpha
mailing list