elf: Remove unused enum allowmask

Unused since 52a01100ad
("elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]").

Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
Fangrui Song 2022-04-25 01:01:02 -07:00
parent b571f3adff
commit 693517b922

View file

@ -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
{