From 693517b92293e7ee817acf38f227f483248d33af Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 25 Apr 2022 01:01:02 -0700 Subject: elf: Remove unused enum allowmask Unused since 52a01100ad011293197637e42b5be1a479a2f4ae ("elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]"). Reviewed-by: Florian Weimer --- sysdeps/generic/ldsodefs.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 29f0054..4a5e698 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 { -- cgit v1.1