forked from vbpf/ebpf-verifier
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This case comes up in real eBPF programs, such as in Cilium's DSR code, where two maps differ only by max_entries. This change allows them to be used as long as the map type (and inner_map_fd, if a map of maps) are the same. Also move mock fd cache to program_info to avoid reusing the cache across different verification calls Signed-off-by: Dave Thaler <[email protected]>
- Loading branch information
Showing
7 changed files
with
149 additions
and
26 deletions.
There are no files selected for viewing
Submodule ebpf-samples
updated
3 files
+5 −0 | CMakeLists.txt | |
+ − | build/twomaps.o | |
+48 −0 | src/twomaps.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters