]>
Commit | Line | Data |
---|---|---|
948def4a | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
5f8ba20d JK |
2 | |
3 | #pragma once | |
4 | ||
5 | #include "unit.h" | |
6 | ||
084d0849 JK |
7 | static inline int bpf_foreign_supported(void) { |
8 | return cg_all_unified(); | |
9 | } | |
10 | ||
5f8ba20d JK |
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); |