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.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -10,11 +10,13 @@
|
||||
typedef enum FilesystemGroups {
|
||||
/* Please leave BASIC_API first and KNOWN last, but sort the rest alphabetically */
|
||||
FILESYSTEM_SET_BASIC_API,
|
||||
FILESYSTEM_SET_ANONYMOUS,
|
||||
FILESYSTEM_SET_AUXILIARY_API,
|
||||
FILESYSTEM_SET_COMMON_BLOCK,
|
||||
FILESYSTEM_SET_HISTORICAL_BLOCK,
|
||||
FILESYSTEM_SET_NETWORK,
|
||||
FILESYSTEM_SET_PRIVILEGED_API,
|
||||
FILESYSTEM_SET_SECURITY,
|
||||
FILESYSTEM_SET_TEMPORARY,
|
||||
FILESYSTEM_SET_KNOWN,
|
||||
_FILESYSTEM_SET_MAX,
|
||||
|
||||
Reference in New Issue
Block a user