Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2018-01-12 16:27:29 +0100
committerJiri Slaby <jslaby@suse.cz>2018-01-12 16:49:38 +0100
commit05dad9280161471b3ddeaac69e194a5756506bd0 (patch)
treeb92d17d681b2ec142c29bc5d58dadc02d1f88b8a
parent47f5ee018ad2e63cff73a69eb0817bc14094cc9c (diff)
kABI: protect struct bpf_map (kabi).
-rw-r--r--include/linux/bpf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index f2157159b26f..c2afb3f85efa 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -37,7 +37,9 @@ struct bpf_map {
u32 value_size;
u32 max_entries;
u32 pages;
+#ifndef __GENKSYMS__
bool unpriv_array;
+#endif
struct user_struct *user;
const struct bpf_map_ops *ops;
struct work_struct work;