summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-11-16 17:56:12 +0000
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-11-16 17:56:12 +0000
commite7d66acda726490fb7b8da03f0d4788857918d5a (patch)
tree9c742e8cded9cfc6d3b72bc5dcb6aa37c86ce179 /src/nxt_conf_validation.c
parentbbc29df8fe4400e881829741c969f2fb77487423 (diff)
downloadunit-e7d66acda726490fb7b8da03f0d4788857918d5a.tar.gz
unit-e7d66acda726490fb7b8da03f0d4788857918d5a.tar.bz2
Isolation: added option to disable "procfs" mount.
Now users can disable the default procfs mount point in the rootfs. { "isolation": { "automount": { "procfs": false } } }
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 69a47274..dca56881 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -844,6 +844,9 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_app_automount_members[] = {
}, {
.name = nxt_string("tmpfs"),
.type = NXT_CONF_VLDT_BOOLEAN,
+ }, {
+ .name = nxt_string("procfs"),
+ .type = NXT_CONF_VLDT_BOOLEAN,
},
NXT_CONF_VLDT_END