aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/bpf/helpers.zig
AgeCommit message (Collapse)Author
2024-11-18linux/bpf: add alignment for helper functions to make compiler happyTw
Signed-off-by: Tw <tw19881113@gmail.com>
2023-11-19linux/bpf: update helper definitionsTw
Signed-off-by: Tw <tw19881113@gmail.com>
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-05-03bpf: correct return type of ringbuf_output helperTw
Signed-off-by: Tw <weii.tan>
2023-03-28bpf: add missing *const for helper functionsTw
Signed-off-by: Tw <tw19881113@gmail.com>
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
zig fmt now replaces c_void with anyopaque to make updating code easy.
2021-09-01std, compiler-rt: remove test names where applicableAndrew Kelley
Tests with no names are executed when using `zig test` regardless of the `--test-filter` used. Non-named tests should be used when simply importing unit tests from another file. This allows `zig test` to find all the appropriate tests, even when using `--test-filter`.
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
2021-06-06std: Fix some BPF fn definitionsLemonBoy
Cros-checked with bpf.h of kernel 5.12.9.
2020-12-31Year++Frank Denis
2020-09-13removed all those kern aliasesMatt Knight
2020-09-12added helper definitionsMatt Knight