aboutsummaryrefslogtreecommitdiff
path: root/src/capabilities.h
blob: 2ca8c4f84672fb88f4470e09fcfecab3deeba0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);

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