]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/org.freedesktop.systemd1.xml
dbus-cgroup: add BPFProgram= dbus support
authorJulia Kartseva <hex@fb.com>
Wed, 9 Dec 2020 06:07:30 +0000 (22:07 -0800)
committerJulia Kartseva <hex@fb.com>
Sat, 10 Apr 2021 03:28:47 +0000 (20:28 -0700)
commit9e009a145d4d67e8c9b1a4a7abcb5cc2c9e734ca
treeb345b603b5d7e23fefe26f0a306818bdcd6b760f
parentee089090591dfdd82e88cb34c87f128de4ed977e
dbus-cgroup: add BPFProgram= dbus support

- Handle BPFProgram= property in string format
"<bpf_attach_type>:<bpffs_path>", e.g. egress:/sys/fs/bpf/egress-hook.
- Add dbus getter to list foreign bpf programs attached to a cgroup.
man/org.freedesktop.systemd1.xml
src/core/dbus-cgroup.c
src/shared/bus-unit-util.c
src/systemctl/systemctl-show.c