1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 3 #pragma once 4 5 #include "unit.h" 6 bpf_foreign_supported(void)7static 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); 16