aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux.zig
diff options
context:
space:
mode:
authorMatthew Knight <mattnite@protonmail.com>2020-08-22 12:08:01 -0700
committerGitHub <noreply@github.com>2020-08-22 15:08:01 -0400
commit0fa3cfdb4aa04bf92c5d9344cd4d265ccb40e0dc (patch)
tree0fe31975cdd13b41adf998308258604225a86a13 /lib/std/os/linux.zig
parent9605e5363b22874550687f5f96dc6cc8bf462115 (diff)
downloadzig-0fa3cfdb4aa04bf92c5d9344cd4d265ccb40e0dc.tar.gz
zig-0fa3cfdb4aa04bf92c5d9344cd4d265ccb40e0dc.zip
Bpf: move under os/linux instead of bits (#6126)
* moved bpf syscall, added some bpf instructions and tests * had to move bpf out of bits so that a freestanding target could import it * removed line * fixed imports
Diffstat (limited to 'lib/std/os/linux.zig')
-rw-r--r--lib/std/os/linux.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
index c5edacfab1..13094b3a3a 100644
--- a/lib/std/os/linux.zig
+++ b/lib/std/os/linux.zig
@@ -29,6 +29,7 @@ pub usingnamespace switch (builtin.arch) {
};
pub usingnamespace @import("bits.zig");
pub const tls = @import("linux/tls.zig");
+pub const BPF = @import("linux/bpf.zig");
/// Set by startup code, used by `getauxval`.
pub var elf_aux_maybe: ?[*]std.elf.Auxv = null;