summaryrefslogtreecommitdiffstats
path: root/src/basic/filesystems.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-12 23:08:25 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-15 22:43:03 +0100
commit73e7576e3bbeb7f72623548712f0a4df95a686df (patch)
tree1bba5c2c2241aecbc433ca0949c080ac23032810 /src/basic/filesystems.c
parentci: pin mkosi to SHAs as well (diff)
downloadsystemd-73e7576e3bbeb7f72623548712f0a4df95a686df.tar.xz
systemd-73e7576e3bbeb7f72623548712f0a4df95a686df.zip
filesystems: add two new filesystem groups
1. @anonymous → for file systems that aren't real file systems but simply the backing for sockets, pipes and other "anonymous" fds. 2. @security → for the various MAC security file systems.
Diffstat (limited to 'src/basic/filesystems.c')
-rw-r--r--src/basic/filesystems.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/basic/filesystems.c b/src/basic/filesystems.c
index 9fccea2018..9f3acfb6b9 100644
--- a/src/basic/filesystems.c
+++ b/src/basic/filesystems.c
@@ -51,6 +51,14 @@ const FilesystemSet filesystem_sets[_FILESYSTEM_SET_MAX] = {
"proc\0"
"sysfs\0"
},
+ [FILESYSTEM_SET_ANONYMOUS] = {
+ .name = "@anonymous",
+ .help = "Anonymous inodes",
+ .value =
+ "anon_inodefs\0"
+ "pipefs\0"
+ "sockfs\0"
+ },
[FILESYSTEM_SET_AUXILIARY_API] = {
.name = "@auxiliary-api",
.help = "Auxiliary filesystem API",
@@ -104,6 +112,14 @@ const FilesystemSet filesystem_sets[_FILESYSTEM_SET_MAX] = {
"pstore\0"
"tracefs\0"
},
+ [FILESYSTEM_SET_SECURITY] = {
+ .name = "@security",
+ .help = "Security/MAC API VFS",
+ .value =
+ "apparmorfs\0"
+ "selinuxfs\0"
+ "smackfs\0"
+ },
[FILESYSTEM_SET_TEMPORARY] = {
.name = "@temporary",
.help = "Temporary filesystems",