Skip to content

eBPF-based security platform

665 B
Raw Blame
[package]
name = "policy-labels"
description = "policy label tests"
license = "GPL-2.0 OR BSD-2-Clause"

[[upatches]]
source = "policy-labels.bpf.c"

[[upatches.policy]]
id = "executable"
bit = 0x1
paths = ["/tmp/shirudo-policy-label-test/executable"]

[[upatches.policy]]
id = "ordinary-a"
bit = 0x2
paths = ["/tmp/shirudo-policy-label-test/ordinary"]

[[upatches.policy]]
id = "ordinary-b"
bit = 0x4
paths = ["/tmp/shirudo-policy-label-test/ordinary"]

[[upatches.policy]]
id = "socket-check"
bit = 0x10
paths = ["/tmp/shirudo-policy-label-test/socket-executable"]

[[upatches.policy]]
id = "matched"
bit = 0x20
paths = ["/tmp/shirudo-policy-label-test/match-*"]