summaryrefslogtreecommitdiff
path: root/src/core/bpf-foreign.h
blob: 9559cd79812b914f8dbb7f68c5175f064cb8f455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#pragma once

#include "unit.h"

int bpf_foreign_supported(void);
/*
 * Attach cgroup-bpf programs foreign to systemd, i.e. loaded to the kernel by an entity
 * external to systemd.
 */
int bpf_foreign_install(Unit *u);