summaryrefslogtreecommitdiffstats
path: root/jail/cgroups-bpf.h
blob: 7f33d85844a609cc234f6bdfa578ef960d768a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) 2021 Daniel Golle <daniel@makrotopia.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 2.1
 * as published by the Free Software Foundation
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _JAIL_CGROUPS_BPF_H
#define _JAIL_CGROUPS_BPF_H

int parseOCIlinuxcgroups_devices(struct blob_attr *msg);
int attach_cgroups_ebpf(int cgroup_dirfd);

#endif