ebpf-for-windows/external
Dave Thaler 7c12adb067
Prevent mismatched program types in PROG_ARRAY maps (#374)
* Prevent mismatched program types in PROG_ARRAY maps

* Each prog array map has a natural progtype, determined when
  asociating it from a program, or when adding the first program
  to it, if not associated with any program.
* Trying to add a program with mismatching type will fail
* Added libbpf bpf_create_map() API
* Fixed error returns from several libbpf APIs to be negative
* For efficiency, ebpf_program_get_properties now returns a
  pointer rather than copying the data inside the execution
  context, and is renamed to ebpf_program_get_parameters()
  to match what its return type always was.
* Fixed a bug in map size calculation that resulted in a huge
  amount of memory being allocated
* Updated return type of bpf_tail_call to the value meant
  to signal stack unwind needed

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2021-08-11 12:17:10 -07:00
..
ebpf-verifier@e2dfcd2a32 Prevent mismatched program types in PROG_ARRAY maps (#374) 2021-08-11 12:17:10 -07:00
libbpf@90405ffa91 Libbpf API compatibility (#350) 2021-07-30 15:34:21 -07:00
ubpf@843394752c Pull latest ubpf (#360) 2021-08-06 15:35:36 -07:00
Analyze.external.ruleset Revert C6011 override (#319) 2021-06-29 16:39:03 -06:00
Directory.Build.props Fix warnings due to C6011 - NULL pointer deref (#307) 2021-06-25 10:24:03 -06:00