aboutsummaryrefslogtreecommitdiff
path: root/src/capabilities.h
blob: e34580468d335556b608a913de59c942896c6c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef POTD_CAPABILITIES_H
#define POTD_CAPABILITIES_H 1

#include <stdint.h>


void caps_check_list(const char *clist, void (*callback)(int));

void caps_print(void);

void caps_drop_dac_override(int noprofile);

int caps_default_filter(void);

int caps_jail_filter(void);

void caps_drop_all(void);

void caps_set(uint64_t caps);

void caps_drop_list(const char *clist);

void caps_keep_list(const char *clist);

#endif