Граф коммитов

986 Коммитов

Автор SHA1 Сообщение Дата
Alan Jowett d0a97366fc
Implement multi-generational LRU (#1726)
* Multi-generational LRU

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-14 01:18:36 +00:00
Delaram Amiri 236182b040
platform library are missing SAL annotation (#1742)
* enable app verifier for cicd build

* SAL annotations

* changed yml file

* change _In_ to _Inout_

* update doxygen

* Update libs/platform/user/ebpf_handle_user.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update libs/platform/kernel/ebpf_handle_kernel.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-12-13 17:06:01 -07:00
Alan Jowett 3e4d71fd8c
Add missing nuget package declarations (#1745)
Fix paths to packages.
Removed unused nuget packages.

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-13 11:01:11 -08:00
dependabot[bot] 1710c71d01
Bump external/Catch2 from `2d7be1f` to `9c0533a` (#1739)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `2d7be1f` to `9c0533a`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](2d7be1f7de...9c0533a905)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-12-13 07:52:35 -08:00
Alan Jowett 3212758312
Speed up build of sample folder (#1724)
* Speedup build of sample folder

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-13 14:58:09 +00:00
Alan Jowett 46cbad6c44
LRU improvement's part 1 (#1723)
* Merge key history and value storage

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-12 23:51:20 +00:00
Alan Jowett ae3805630c
Automatically update nuget packages (#1736)
* Automatically update nuget packages

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-12 14:13:26 -08:00
Dave Thaler 76f8191a80
Cleanup (#1737)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-12-12 17:56:51 +00:00
dependabot[bot] aaeb6b9a2e
Bump external/ubpf from `9976d6a` to `e2fbc3d` (#1738)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `9976d6a` to `e2fbc3d`.
- [Release notes](https://github.com/iovisor/ubpf/releases)
- [Commits](9976d6ab23...e2fbc3d65d)

---
updated-dependencies:
- dependency-name: external/ubpf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 08:45:58 -08:00
dependabot[bot] 73d43f1ba0
Bump github/codeql-action from 2.1.35 to 2.1.36 (#1729)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.35 to 2.1.36.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b2a92eb56d...a669cc5936)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 04:43:16 +00:00
dependabot[bot] fc606f98c1
Bump external/bpf_conformance from `a017962` to `16f6287` (#1728)
Bumps [external/bpf_conformance](https://github.com/Alan-Jowett/bpf_conformance) from `a017962` to `16f6287`.
- [Release notes](https://github.com/Alan-Jowett/bpf_conformance/releases)
- [Commits](a0179625c9...16f6287324)

---
updated-dependencies:
- dependency-name: external/bpf_conformance
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-11 20:05:48 -08:00
Gianni Trevisiol 99b7ece81f
Visual Studio 2022 porting (#1521)
* Draft

* wip - full build

* wip

* Docs & scripts update

* revert test

* Updates to overall GettingStarted.md guide.

* Updated CI/CD scripts

* Update ebpf-verifier cache key

* Fix #1513. Next action forwarded to #1563.

* Bump up epbfverifier to 05bca47

* Fix CRT path.

* Disable sanitizing

* fix cmake build

* Removed unsupported x86 and ARM configurations.

* Test address sanitizer off

* wip -full build w/asan

* asan enabled on ci/cd

* update wdk version to 22621

* wip - full build

* add mock asan

* Update CL param

* wip - proj sync

* wip - ltcg

* wip - driver settings

* wip-build props

* wip - asan opts

* wip-plat asan

* wip-asan

* wip

* wip

* wip-debug

* Branch resync

* Mitigate compiler OOM.

* remove asan mock

* doc update

* doc update

* Removed commented code.

* Added comments for pragma-s
2022-12-08 20:06:57 -07:00
Alan Jowett 04c1aef91a
Replace _strdup with instrumented ebpf_duplicate_string and fix bugs uncovered (#1717)
* Replace _strdup with ebpf_duplicate_string
* Fix crashes under low memory conditions

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-08 10:45:20 -08:00
Alan Jowett 8edff23f55
Update ebpf-verifier to latest (#1712)
* Update ebpf-verifier to latest

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Update expected output

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code analysis warning

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-08 00:05:08 +00:00
Gianni Trevisiol c927be1a4d
fix fuzzer issues (#1719) 2022-12-06 17:03:33 -08:00
Delaram Amiri a747d84d8b
Update documentation to exclude PE parse from anti-virus scanning (#1702)
* enable app verifier for cicd build

* exclude pe-parse from windows security

* add details of pe images

* add details of pe images

* details for other antiviruses

* add details

* highlight the keywords

Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-12-06 12:51:05 -07:00
Gianni Trevisiol 6f9d9b29f2
Fix vector addressing issue. Minor optimizations. (#1714) 2022-12-05 17:01:45 -08:00
Gianni Trevisiol bc1d699823
Check null return (#1711) 2022-12-05 15:32:18 -07:00
dependabot[bot] 1fd8d621a7
Bump github/codeql-action from 2.1.31 to 2.1.35 (#1705)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.31 to 2.1.35.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c3b6fce4ee...b2a92eb56d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>
2022-12-04 17:08:10 +00:00
dependabot[bot] fa75e3c6c0
Bump external/bpf_conformance from `b886cd8` to `a017962` (#1704)
Bumps [external/bpf_conformance](https://github.com/Alan-Jowett/bpf_conformance) from `b886cd8` to `a017962`.
- [Release notes](https://github.com/Alan-Jowett/bpf_conformance/releases)
- [Commits](b886cd8aa7...a0179625c9)

---
updated-dependencies:
- dependency-name: external/bpf_conformance
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>
2022-12-04 09:33:16 -07:00
Anurag Saxena 76619c1eff
fix (#1698) 2022-12-03 12:33:13 -07:00
Alan Jowett 9ba6bdb67e
Mark pe_context as failed on low-memory failure (#1700)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-02 15:23:34 -08:00
Alan Jowett c98e5e9f91
Re-enable low memory test (#1627)
* Re-enable low memory test

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-02 10:07:49 -07:00
Alan Jowett d891e8d4a7
Switch to storing native module handle via fd (#1695)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-02 01:40:56 +00:00
Alan Jowett 600c8cd9ba
Reduce noise from OpenCppCoverage during CI/CD testing (#1697)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-02 00:33:37 +00:00
Dhiren Vispute 151a51a5db
enable loading of native programs with no maps (#1687) 2022-12-01 15:55:00 -07:00
Alan Jowett fb9d87c057
Switch to release of bpf_conformance (#1692)
* Pickup v0.0.3 of bpf_conformance_runner

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-01 18:47:19 +00:00
Alan Jowett 3457afdd91
Fix failure to decrement count on low memory (#1690)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-12-01 10:09:27 -08:00
Anurag Saxena ed291b80c9
Return module handle on native module load (#1547)
* kernel and platform changes

* fix

* user mode changes, other fixes

* fix test failure

* change function name

* add tests

* fix failing test

* cr comments

* CR comments

* fix cmake build

* fix

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* fix assert

* cr comments

* fix analysis failure

* fix test to avoid double close of fd

* test case fixes

* test fix

* fix unit test, analysis failure

* fix tests

* fix memory leak, possible race condition

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-11-29 23:36:58 +00:00
Anurag Saxena 6936d09784
fix (#1676) 2022-11-29 21:44:02 +00:00
Anurag Saxena 8fd3acf528
Connect redirect implementation (#1651)
* draft fix

* fix

* demo

* fix initial ref counts

* fix

* cleanup

* backup

* checkpoint

* backup

* tests working

* fix analyze errors

* fix netebpfext build / bad merge

* sln file update

* v6 tests

* fix netebpfext user build

* refactor connect_redirect tests

* netebpfext changes

* fix tests

* fix netebpfext user tests

* fix sal

* add sublayer, remove filter_instance

* fix

* fix

* driver_tests

* fix bad merge

* fix scripts

* fix driver tests script

* driver tests script

* script fix

* add trace to debug failure

* fix driver test script

* create context only on allow, and create 2 contexts

* fix script

* netsh fix

* fix scripts

* add tests for pure v4 and v6 sockets

* fix test

* v6 test vm addresses

* remove commented code

* code cleanup

* cleanup

* remove bad_map_name files

* cleanup

* fix tests print statements

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* CR comments, fixes

* update connection context key, address CR comments

* fix build break, cr comments

* cr comments

* cr comments

* rename

* fix test script

* CR comments

* cleanup

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* fix

* cr comments

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-29 20:49:42 +00:00
Dave Thaler 4a055129e1
Try autoupdate as a dry run (#1674)
* Try autoupdate as a dry run

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Harden workflow

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Remove dry run

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-11-29 19:10:42 +00:00
Alan Jowett a5e564f06d
Clean up leaked BPF objects when running low-memory tests (#1685)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-11-29 18:17:31 +00:00
dependabot[bot] 4544ccdf89
Bump external/Catch2 from `65cc7fd` to `2d7be1f` (#1680)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `65cc7fd` to `2d7be1f`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](65cc7fd2ae...2d7be1f7de)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-27 20:48:50 -08:00
Gianni Trevisiol 0c1909483c
Fixed CMakeLists.txt with hardcoded WDK version (#1678)
* fixed cmakelists.txt

* submodule update

* wip

* sync submodules

* revert
2022-11-27 19:14:35 -08:00
Dave Thaler aa414c3e53
Add table of supported eBPF instructions (#1665)
* Add table of supported eBPF instructions

The question marks are still to be filled in

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Add links

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-11-22 05:02:17 +00:00
dependabot[bot] fe41565b22
Bump windows/nanoserver in /images (#1672)
Bumps windows/nanoserver from 10.0.20348.1129 to 10.0.20348.1249.

---
updated-dependencies:
- dependency-name: windows/nanoserver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-11-21 10:02:47 -08:00
dependabot[bot] 81829df111
Bump external/pe-parse from `29220c9` to `ae6e2d9` (#1668)
Bumps [external/pe-parse](https://github.com/trailofbits/pe-parse) from `29220c9` to `ae6e2d9`.
- [Release notes](https://github.com/trailofbits/pe-parse/releases)
- [Commits](29220c9435...ae6e2d9503)

---
updated-dependencies:
- dependency-name: external/pe-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-21 08:55:56 +00:00
dependabot[bot] cd7293904f
Bump external/ubpf from `57c842f` to `9976d6a` (#1670)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `57c842f` to `9976d6a`.
- [Release notes](https://github.com/iovisor/ubpf/releases)
- [Commits](57c842f312...9976d6ab23)

---
updated-dependencies:
- dependency-name: external/ubpf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-20 15:03:18 -08:00
dependabot[bot] 236907817b
Bump external/Catch2 from `fdea5a5` to `65cc7fd` (#1671)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `fdea5a5` to `65cc7fd`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](fdea5a52c2...65cc7fd2ae)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-20 10:31:47 -08:00
Alan Jowett 0e3f2a5157
Instrument all allocation paths (#1620)
* Instrument all allocation paths

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix test failure

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Remove global new/delete until issue can be resolved

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code analysis warning

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Revert ubpf update

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Code analysis failure

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code-analysis warning

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code-analysis warning

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix codeanalysis failures

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-19 16:33:27 +00:00
Alan Jowett 0a9be2779e
Annotate remaining code with _Must_inspect_result_ (#1570)
* Annotate remaining code with _Must_inspect_result_

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix build

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix merge failure

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-18 13:36:24 -08:00
Alan Jowett 2a73f8cd54
Expression short circuiting causes skipping of ebpf_api_close_handle (#1663)
* Expression short circuiting causes skipping of ebpf_api_close_handle

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix code analysis failure

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-18 12:15:39 -07:00
Keerthi Vardhan 21afc10c0f
Fix code scanning alert - Comparison of narrow type with wide type in… (#1594)
* Fix code scanning alert - Comparison of narrow type with wide type in loop condition ,index variable type is modified

* index variable is casted into the type int32_t

* Create codeql.yml

* codeql.yml  file is removed sir

* typecast i to uint16_t in GetMaximumProcessorCount(i);

* changed type of helper
_id to uint32_t

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-18 09:11:30 -08:00
Gianni Trevisiol 6a9a394247
Implement native module states (#1646)
* Implemented module state w/enum

* Final implementation

* Partial states to enum

* sync ubpf commit

* refactored error checking

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-11-18 06:07:37 -08:00
Alan Jowett 145933af13
Store last failed allocation stack (#1645)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-17 09:22:15 -07:00
Alan Jowett 83dc3d936c
Assert on deadlock in shutting down (#1643)
* Assert on deadlock in shutting down

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix build break

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-11-16 21:14:45 -08:00
Alan Jowett 58cdfdcf8a
Spelling (#1601)
* Fix spelling in docs

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix spelling in ebpfsvc

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix include

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix libs part 1

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix libs part 2

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix tests

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix tools

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix build

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* Fix generated files

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-16 14:06:14 -07:00
Alan Jowett 69574e086c
Switch to std::unique_lock to prevent deadlocks (#1658)
Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Anurag Saxena <43585259+saxena-anurag@users.noreply.github.com>
2022-11-16 12:27:24 -07:00
Alan Jowett f718581501
Resolve duplicate definition of _ebpf_objects (#1659)
Clear the _ebpf_netsh_objects at the start of the test and verify objects are removed.

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2022-11-16 10:41:39 -07:00