| commit | 0a33a9f6ca4e61a2b0dfb218d696fd829ef56b8b | [log] [tgz] |
|---|---|---|
| author | Sergey Ulanov <sergeyu@fuchsia.infra.roller.google.com> | Wed Jan 15 12:40:25 2025 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Wed Jan 15 12:41:52 2025 -0800 |
| tree | e96ef0eef7c43a8cab84a81b219b41846c5ecfaa | |
| parent | 7f5d59e93a8e4bc2996f26d266a42bacf6f92f03 [diff] |
[roll] Roll fuchsia [eBPF] Read packet length from the context struct Previously cBPF programs were receiving packet length as a second argument and that value was used by the BPF_LEN implementation. That argument is redundant: in socket filters the value is stored in the `sk_buff` struct passed as the first argument, while it's constant in seccomp programs. This change adds `CbpfConfig`, which allows to customize cBPF converter behavior. This allows to use different behavior for socket filters and seecomp programs. The same config also allows to disable the `BPF_MSH` instruction in seccomp as it doesn't make sense there. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1185919 Original-Revision: 4e4dd3f55f253dfaf613c1af8cff2d4663ae03a7 GitOrigin-RevId: 54be84c31accca393302740119af4712a111f127 Change-Id: I33da5f60bcf1051c7193b96ea7a8601ac04c8503
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.