summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-07-28 19:12:39 +0200
committerBenjamin Berg <bberg@redhat.com>2020-10-23 09:58:41 +0200
commit0b432bdc2ebdbee63a2f6820916d18f33b4afda2 (patch)
tree1b7c768572014c8b282e74b16f29d5090bc08916
parentunits: Add special Desktop Environment user related units (diff)
downloadsystemd-0b432bdc2ebdbee63a2f6820916d18f33b4afda2.tar.xz
systemd-0b432bdc2ebdbee63a2f6820916d18f33b4afda2.zip
basic: Define macros for special user slices
-rw-r--r--src/basic/special.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/basic/special.h b/src/basic/special.h
index 19ee30cd41..ccf9d50f10 100644
--- a/src/basic/special.h
+++ b/src/basic/special.h
@@ -107,3 +107,8 @@
/* The root directory. */
#define SPECIAL_ROOT_MOUNT "-.mount"
+
+/* Special slices valid for the user instance */
+#define SPECIAL_SESSION_SLICE "session.slice"
+#define SPECIAL_APP_SLICE "app.slice"
+#define SPECIAL_BACKGROUND_SLICE "background.slice"