From 6bff32e6f88641ca7ad8070709789569501bedcb Mon Sep 17 00:00:00 2001 From: weishu Date: Tue, 7 May 2024 20:23:10 +0800 Subject: [PATCH] Fux --- kernel/selinux/sepolicy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/selinux/sepolicy.c b/kernel/selinux/sepolicy.c index bff5f32c7763..990e10963bad 100644 --- a/kernel/selinux/sepolicy.c +++ b/kernel/selinux/sepolicy.c @@ -617,7 +617,6 @@ static bool add_type(struct policydb *db, const char *type_name, bool attr) return false; } - size_t new_size = sizeof(struct ebitmap) * db->p_types.nprim; struct ebitmap *new_type_attr_map_array = ksu_realloc(db->type_attr_map_array, value * sizeof(struct ebitmap),