conf: introduce lxc_bpf_devices_rule_t type

parent e0542702
...@@ -268,11 +268,11 @@ struct lxc_state_client { ...@@ -268,11 +268,11 @@ struct lxc_state_client {
lxc_state_t states[MAX_STATE]; lxc_state_t states[MAX_STATE];
}; };
enum { typedef enum lxc_bpf_devices_rule_t {
LXC_BPF_DEVICE_CGROUP_LOCAL_RULE = -1, LXC_BPF_DEVICE_CGROUP_LOCAL_RULE = -1,
LXC_BPF_DEVICE_CGROUP_ALLOWLIST = 0, LXC_BPF_DEVICE_CGROUP_ALLOWLIST = 0,
LXC_BPF_DEVICE_CGROUP_DENYLIST = 1, LXC_BPF_DEVICE_CGROUP_DENYLIST = 1,
}; } lxc_bpf_devices_rule_t;
struct device_item { struct device_item {
char type; char type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment