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

1934 Коммитов

Автор SHA1 Сообщение Дата
Dave Thaler 87329d6491
Make sure all helpers are declared const (#3394)
Fixes #3387

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-03-27 02:29:26 +00:00
Alan Jowett a98ec6bbcc
Make results of skip_check step available to caller (#3395)
Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>
2024-03-27 02:28:23 +00:00
Matthew Ige 0b9ccaee0b
update release yml (#3393) 2024-03-26 16:34:31 +00:00
Matthew Ige a995522b68
update release version to 0.15.0 (#3389) 2024-03-25 23:53:46 +00:00
Shankar Seal bf8d2c4f12
Update the release process. (#3357)
* Update the release process.

* changes.

* fix typo.

* more changes.

* Update docs/Governance.md

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>

* Update docs/ReleaseProcess.md

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>

* Apply suggestions from code review

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>

* further changes.

---------

Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
Co-authored-by: Gianni Trevisiol <gtrevi@users.noreply.github.com>
2024-03-25 19:55:23 +00:00
Alan Jowett 8b04cee705
Add option to skip if build artifact name == none (#3378)
Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>
2024-03-25 15:40:53 +00:00
Gianni Trevisiol 1f75323e64
Consolidate build & release artifacts. (#3127)
* update docs

* update build

* whitespaces

* update
2024-03-24 23:28:01 +00:00
dependabot[bot] c47c9fbf88
Bump actions/cache from 4.0.1 to 4.0.2 (#3383)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](ab5e6d0c87...0c45773b62)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 02:52:08 +00:00
dependabot[bot] 1ba44a8e35
Bump actions/dependency-review-action from 4.1.3 to 4.2.3 (#3384)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.1.3 to 4.2.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](9129d7d40b...0fa40c3c10)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 02:51:41 +00:00
Dhiren Vispute d0b5c6242e
move filter delete auditing to delete notify callback (#3372)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-22 07:24:36 +00:00
Gianni Trevisiol 1eaa5681d3
Refactor all deployments to use the MSI package. (#3284)
* draft

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* test

* wip

* wip

* test

* test

* wip

* test

* wip

* wip

* wip

* test

* wip

* wip

* fix debug installation

* update VM install doc

* wip

* wip

* wip

* wip

* wip

* improve msi log readability

* wip

* debug

* nits

* feedback

* nl

* updates

* add extra stop-check

* wip

* wip

* nit

* fix

* doc

* exclude doc

* sync
2024-03-21 21:08:57 +00:00
Shankar Seal 22b7adc3be
issue priorities. (#3349)
* issue priorities.

foo.

* PR Feedback.

* clarification.
2024-03-21 20:44:52 +00:00
Dhiren Vispute b494058832
Rework dump handling, add trace messages, fix process id for user mode dump (#3355)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-21 17:40:56 +00:00
dependabot[bot] 706675ac12
Bump external/usersim from `e01d44e` to `a7b1c28` (#3364)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `e01d44e` to `a7b1c28`.
- [Commits](e01d44ed72...a7b1c281da)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 23:00:17 +00:00
Shankar Seal 7c1ea2c23b
wait for all events. (#3368) 2024-03-19 02:35:38 +00:00
Kevin Ji f8be910986
docs: Mark C/JSON/XML code, remove stray backticks (#3353) 2024-03-18 23:49:12 +00:00
dependabot[bot] b319f56bb7
Bump actions/checkout from 4.1.1 to 4.1.2 (#3362)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 20:50:02 +00:00
dependabot[bot] 06c38b5499
Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#3363)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](a4f52f8033...70a41aba78)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 16:22:22 +00:00
dependabot[bot] 5813961ab9
Bump external/Catch2 from `8ac8190` to `bfe3ff8` (#3366)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `8ac8190` to `bfe3ff8`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](8ac8190e49...bfe3ff8f19)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 15:40:50 +00:00
Anurag Saxena 37613367a0
Fix ring_buf issues (#3354)
* fix

* add tests

* code cleanup

* fix tests

* cr comments

* cr comments
2024-03-16 00:16:14 +00:00
Dhiren Vispute 3c6203e1a7
Use github-specified primary repository for CI/CD workflow. (#3345)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-13 22:16:27 +00:00
Gianni Trevisiol 5e84f5c914
draft (#3333) 2024-03-12 22:58:51 +00:00
dependabot[bot] 7b1cb3aa58
Bump tests/external/kissfft from `8f47a67` to `f5f2a3b` (#3341)
Bumps [tests/external/kissfft](https://github.com/mborgerding/kissfft) from `8f47a67` to `f5f2a3b`.
- [Release notes](https://github.com/mborgerding/kissfft/releases)
- [Commits](8f47a67f59...f5f2a3b2f2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-10 19:53:20 +00:00
dependabot[bot] 83047335fa
Bump external/usersim from `01ae6b8` to `e01d44e` (#3340)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `01ae6b8` to `e01d44e`.
- [Commits](01ae6b8154...e01d44ed72)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-09 22:46:38 +00:00
Shankar Seal 99a4bbd2d9
fix tracing. (#3336) 2024-03-09 22:46:09 +00:00
dependabot[bot] 1996587dfa
Bump actions/dependency-review-action from 2.5.1 to 4.1.3 (#3343)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2.5.1 to 4.1.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](0efb1d1d84...9129d7d40b)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-09 22:45:29 +00:00
dependabot[bot] cfc31d1a0a
Bump azure/login from 1.6.1 to 2.0.0 (#3342)
Bumps [azure/login](https://github.com/azure/login) from 1.6.1 to 2.0.0.
- [Release notes](https://github.com/azure/login/releases)
- [Commits](cb79c773a3...8c334a195c)

---
updated-dependencies:
- dependency-name: azure/login
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-09 22:45:24 +00:00
Dhiren Vispute 125c884ac4
Defer filter list deletion to when deleting filter context, add debugging info and traces (#3300)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-08 16:38:54 +00:00
Dhiren Vispute 00c6428dd5
Use custom script wrapper for all km tests to capture user, km dumps on hangs (#3163)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-03-08 16:36:10 +00:00
Alan Jowett f237860470
Memset is defined as taking destination, c, count (#3335)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-03-08 01:15:29 +00:00
Alan Jowett f7bf6d0c92
Switch synchronous thread to thread_local storage (#3330)
* Switch synchronous thread to thread_local storage

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

* Add dedicated calls to cleanup device handles on thread attach/detach

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

* Add dedicate test to stress device handling

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

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-03-06 16:50:54 +00:00
Anurag Saxena 5011c712f2
Fix the IOCTL numbers so that ebpfapi.dll for x64 and x64-NativeOnly are cross-compatible. (#3305)
* backup

* fix

* update tests

* fix cicd

* fix cicd

* copy usersim.dll from regular build

* fix tests

* fix

* cleanup

* cr comments

* cr comments

* cleanup

* fix

* cr comments
2024-03-05 06:26:48 +00:00
Alan Jowett dcd56fed2e
Eliminate calls with FILE_FLAG_OVERLAPPED set, but no overlapped (#3315)
* Eliminate calls with FILE_FLAG_OVERLAPPED set, but no overlapped

Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>

* PR feedback

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

---------

Signed-off-by: Alan Jowett (from Dev Box) <alanjo@microsoft.com>
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-03-04 23:24:03 +00:00
Alan Jowett dccf443a19
Add utility memory functions (#3324)
* Add utility memory functions

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

* Code analysis failure

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

* PR feedback

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

* PR feedback

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

---------

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2024-03-04 20:58:38 +00:00
dependabot[bot] ce3bacff82
Bump external/Catch2 from `fb51116` to `8ac8190` (#3317)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `fb51116` to `8ac8190`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](fb51116d5b...8ac8190e49)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:35:40 +00:00
dependabot[bot] 0711419904
Bump actions/download-artifact from 4.1.2 to 4.1.4 (#3318)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](eaceaf801f...c850b930e6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:32:39 +00:00
dependabot[bot] 5a3e24652e
Bump actions/cache from 4.0.0 to 4.0.1 (#3319)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](13aacd865c...ab5e6d0c87)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:32:02 +00:00
dependabot[bot] f4a36c8ed8
Bump actions/checkout from 3.6.0 to 4.1.1 (#3320)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:31:35 +00:00
dependabot[bot] 90b072a673
Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#3321)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](b1ddad2c99...a4f52f8033)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:31:06 +00:00
dependabot[bot] f34448ba72
Bump codecov/codecov-action from 4.0.2 to 4.1.0 (#3322)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](0cfda1dd0a...54bcd8715e)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 16:30:42 +00:00
dependabot[bot] ff2a400a51
Bump external/usersim from `a9c053d` to `01ae6b8` (#3309)
Bumps [external/usersim](https://github.com/microsoft/usersim) from `a9c053d` to `01ae6b8`.
- [Commits](a9c053d3b2...01ae6b8154)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 04:09:02 +00:00
dependabot[bot] 7662fdb5c9
Bump external/Catch2 from `024cfb3` to `fb51116` (#3310)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `024cfb3` to `fb51116`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](024cfb3542...fb51116d5b)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 04:08:24 +00:00
dependabot[bot] ea84c82412
Bump external/ubpf from `3daceb8` to `2c163d6` (#3311)
Bumps [external/ubpf](https://github.com/iovisor/ubpf) from `3daceb8` to `2c163d6`.
- [Commits](3daceb8aad...2c163d6645)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 04:07:58 +00:00
StepSecurity Bot 1aa11e8ed8
[StepSecurity] Apply security best practices (#3306)
* [StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>

* Use windows not linux for dependency review

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>

---------

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Co-authored-by: Dave Thaler <dthaler1968@gmail.com>
2024-02-27 17:34:21 +00:00
Alan Jowett 5a0c8dc30f
Pin Azure Login action by commit id (#3301)
* Pin Azure Login action by commit id

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

* Fix broken yaml

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

---------

Signed-off-by: Alan Jowett <alanjo@microsoft.com>
2024-02-27 06:06:30 +00:00
Dave Thaler cba8cc3890
Fix scorecards workflow runs (#3303)
https://github.com/microsoft/ebpf-for-windows/actions/workflows/scorecards-analysis.yml?query=branch%3Amain
shows that the scorecards workflow is consistently failing in main.

As can be seen at
https://app.stepsecurity.io/github/microsoft/ebpf-for-windows/actions/runs/8052805389
we are hitting the errors because the score card action tries to access
www.bestpractices.dev.  This is the new name of
bestpractices.coreinfrastructure.org which was allowed (indeed if you
try to go to that site in a browser, it now redirects to
www.bestpractices.dev).  This updates the ACL with the new domain name.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
2024-02-27 06:05:32 +00:00
Gianni Trevisiol fbeb01923e
Fix CVE-2024-24810 (#3304)
* upgrade Wix to 3.14

* wip
2024-02-27 06:04:45 +00:00
Dhiren Vispute 12f73c3013
Add negative test program and test for xdp datasize check (#3292)
Co-authored-by: Dhiren Vispute <Dhiren.Vispute@microsoft.com>
2024-02-26 16:22:24 +00:00
Anurag Saxena f233f01d15
bugfix (#3257) 2024-02-26 16:21:24 +00:00
dependabot[bot] 0a5f4702ed
Bump external/ebpf-verifier from `1056586` to `3db1b62` (#3289)
Bumps [external/ebpf-verifier](https://github.com/vbpf/ebpf-verifier) from `1056586` to `3db1b62`.
- [Release notes](https://github.com/vbpf/ebpf-verifier/releases)
- [Commits](1056586f13...3db1b62c4c)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 21:45:17 +00:00