Home Home > GIT Browse > openSUSE-42.2
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:27:29 +0100
commit37d4130027fd421b58d10f763e8356f1b3302a36 (patch)
tree89bb1f8a6144fc612dacaaf98573f866d58ec025
parent99794cc00d09fac47259c1a396fd56eadcf9013c (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;