From fbd2037fcf5dd7b668cce94a91b20b2b4af19f93 Mon Sep 17 00:00:00 2001 From: Anay Wadhera Date: Thu, 20 May 2021 21:56:43 -0700 Subject: Revert "bpf: prevent out-of-bounds speculation" This reverts commit 9a7fad4c0e215fb1c256fee27c45f9f8bc4364c5. Signed-off-by: Chatur27 --- include/linux/bpf.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/bpf.h b/include/linux/bpf.h index f2157159b26f..4f6d29c8e3d8 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -37,7 +37,6 @@ struct bpf_map { u32 value_size; u32 max_entries; u32 pages; - bool unpriv_array; struct user_struct *user; const struct bpf_map_ops *ops; struct work_struct work; @@ -142,7 +141,6 @@ struct bpf_prog_aux { struct bpf_array { struct bpf_map map; u32 elem_size; - u32 index_mask; /* 'ownership' of prog_array is claimed by the first program that * is going to use this map or by the first program which FD is stored * in the map to make sure that all callers and callees have the same -- cgit v1.2.3