#include "string-util.h"
#include "virt.h"
+#if BPF_FRAMEWORK
+#include "bpf-dlopen.h"
+#include "bpf-link.h"
+#include "bpf/restrict_fs/restrict-fs-skel.h"
+#endif
+
#define CGROUP_CPU_QUOTA_DEFAULT_PERIOD_USEC ((usec_t) 100 * USEC_PER_MSEC)
+ /* Special values for the bfq.weight attribute */
+ #define CGROUP_BFQ_WEIGHT_INVALID UINT64_MAX
+ #define CGROUP_BFQ_WEIGHT_MIN UINT64_C(1)
+ #define CGROUP_BFQ_WEIGHT_MAX UINT64_C(1000)
+ #define CGROUP_BFQ_WEIGHT_DEFAULT UINT64_C(100)
+
/* Returns the log level to use when cgroup attribute writes fail. When an attribute is missing or we have access
* problems we downgrade to LOG_DEBUG. This is supposed to be nice to container managers and kernels which want to mask
* out specific attributes from us. */