diff options
author | Maciej Żenczykowski <maze@google.com> | 2023-01-04 10:28:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-01-04 10:28:51 +0000 |
commit | 3239bc3f7539c9889d10ab6fd9b27fd779219288 (patch) | |
tree | 0232e0e62554c7262ebade11e8ca3b0b707568c0 | |
parent | c0681de8e60fb79cefd64ecca60800e28aa3c1b5 (diff) | |
parent | e9361bb0bb370f2ec4e53b0ae540098b05f182a7 (diff) | |
download | net-3239bc3f7539c9889d10ab6fd9b27fd779219288.tar.gz |
Merge "Use the .o-wide bpfloader min/max ver for maps & programs too"
-rw-r--r-- | common/native/bpf_headers/include/bpf/bpf_helpers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/native/bpf_headers/include/bpf/bpf_helpers.h b/common/native/bpf_headers/include/bpf/bpf_helpers.h index 4d487200..5b17a8ef 100644 --- a/common/native/bpf_headers/include/bpf/bpf_helpers.h +++ b/common/native/bpf_headers/include/bpf/bpf_helpers.h @@ -167,8 +167,8 @@ static void (*bpf_ringbuf_submit_unsafe)(const void* data, __u64 flags) = (void* .uid = (usr), \ .gid = (grp), \ .mode = (md), \ - .bpfloader_min_ver = DEFAULT_BPFLOADER_MIN_VER, \ - .bpfloader_max_ver = DEFAULT_BPFLOADER_MAX_VER, \ + .bpfloader_min_ver = BPFLOADER_MIN_VER, \ + .bpfloader_max_ver = BPFLOADER_MAX_VER, \ .min_kver = (minkver), \ .max_kver = (maxkver), \ .selinux_context = (selinux), \ @@ -296,8 +296,8 @@ static long (*bpf_get_current_comm)(void* buf, uint32_t buf_size) = (void*) BPF_ .min_kver = (min_kv), \ .max_kver = (max_kv), \ .optional = (opt), \ - .bpfloader_min_ver = DEFAULT_BPFLOADER_MIN_VER, \ - .bpfloader_max_ver = DEFAULT_BPFLOADER_MAX_VER, \ + .bpfloader_min_ver = BPFLOADER_MIN_VER, \ + .bpfloader_max_ver = BPFLOADER_MAX_VER, \ .selinux_context = selinux, \ .pin_subdir = pindir, \ }; \ |