chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cgroup: detect cgroup namespaces
[elogind.git]
/
src
/
basic
/
missing.h
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index 4a3b5ecb5b8543a82d3246af47d9564125cc92ba..848495ee26c890aae5008fe56e786acc45b2704d 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-38,6
+38,7
@@
#include <uchar.h>
#include <unistd.h>
#include <uchar.h>
#include <unistd.h>
+/// Additional includes needed by elogind
#include "musl_missing.h"
#ifdef HAVE_AUDIT
#include "musl_missing.h"
#ifdef HAVE_AUDIT
@@
-441,7
+442,6
@@
struct btrfs_ioctl_quota_ctl_args {
#endif
#endif // 0
#endif
#endif // 0
-
#ifndef CGROUP_SUPER_MAGIC
#define CGROUP_SUPER_MAGIC 0x27e0eb
#endif
#ifndef CGROUP_SUPER_MAGIC
#define CGROUP_SUPER_MAGIC 0x27e0eb
#endif
@@
-450,6
+450,10
@@
struct btrfs_ioctl_quota_ctl_args {
#define CGROUP2_SUPER_MAGIC 0x63677270
#endif
#define CGROUP2_SUPER_MAGIC 0x63677270
#endif
+#ifndef CLONE_NEWCGROUP
+#define CLONE_NEWCGROUP 0x02000000
+#endif
+
#ifndef TMPFS_MAGIC
#define TMPFS_MAGIC 0x01021994
#endif
#ifndef TMPFS_MAGIC
#define TMPFS_MAGIC 0x01021994
#endif
@@
-990,11
+994,13
@@
struct btrfs_ioctl_quota_ctl_args {
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
+#endif // 0
#ifndef HAVE_KEY_SERIAL_T
typedef int32_t key_serial_t;
#endif
#ifndef HAVE_KEY_SERIAL_T
typedef int32_t key_serial_t;
#endif
+#if 0 /// UNNEEDED by elogind
#ifndef KEYCTL_READ
#define KEYCTL_READ 11
#endif
#ifndef KEYCTL_READ
#define KEYCTL_READ 11
#endif