diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-01-24 22:03:12 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-01-30 01:27:25 +0000 |
commit | eba7378d4f8816799032a0c086ab54d3c15157b3 (patch) | |
tree | 78df7b8da36fe32948b703b6072600be438965a8 /src | |
parent | f7c9d3a8b3dbe083007e73c8c7b7e50094bf3763 (diff) | |
download | unit-eba7378d4f8816799032a0c086ab54d3c15157b3.tar.gz unit-eba7378d4f8816799032a0c086ab54d3c15157b3.tar.bz2 |
Configuration: Use the NXT_CONF_VLDT_REQUIRED flag for procmap
Use the NXT_CONF_VLDT_REQUIRED flag on the app_procmap members. These
three settings are required.
These are for the uidmap & gidmap settings in the config.
Suggested-by: Zhidao HONG <z.hong@f5.com>
Reviewed-by: Zhidao Hong <z.hong@f5.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_conf_validation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index 32124ee9..eb7ef530 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -1327,12 +1327,15 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_app_procmap_members[] = { { .name = nxt_string("container"), .type = NXT_CONF_VLDT_INTEGER, + .flags = NXT_CONF_VLDT_REQUIRED, }, { .name = nxt_string("host"), .type = NXT_CONF_VLDT_INTEGER, + .flags = NXT_CONF_VLDT_REQUIRED, }, { .name = nxt_string("size"), .type = NXT_CONF_VLDT_INTEGER, + .flags = NXT_CONF_VLDT_REQUIRED, }, NXT_CONF_VLDT_END |