]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/bpf-foreign.h
debug-generator: Allow specifying name of unit-dropin credential
[thirdparty/systemd.git] / src / core / bpf-foreign.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2
3 #pragma once
4
5 #include "unit.h"
6
7 static inline int bpf_foreign_supported(void) {
8 return cg_all_unified();
9 }
10
11 /*
12 * Attach cgroup-bpf programs foreign to systemd, i.e. loaded to the kernel by an entity
13 * external to systemd.
14 */
15 int bpf_foreign_install(Unit *u);