diff options
author | Roman Arutyunyan <arut@nginx.com> | 2017-12-13 20:40:53 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2017-12-13 20:40:53 +0300 |
commit | 752f66bf7d70fae2bf05fbf5941ff4be52b2b9a5 (patch) | |
tree | 78fc3bcc2f52d8fc71fa4ec12080fdf891e0a113 /src/core/ngx_cycle.h | |
parent | d2d737e70b46429ef9ed71b99402a9151f3c2e1f (diff) | |
download | nginx-752f66bf7d70fae2bf05fbf5941ff4be52b2b9a5.tar.gz nginx-752f66bf7d70fae2bf05fbf5941ff4be52b2b9a5.zip |
Retain CAP_NET_RAW capability for transparent proxying.
The capability is retained automatically in unprivileged worker processes after
changing UID if transparent proxying is enabled at least once in nginx
configuration.
The feature is only available in Linux.
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r-- | src/core/ngx_cycle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h index 2b48ccbd6..a825da2f9 100644 --- a/src/core/ngx_cycle.h +++ b/src/core/ngx_cycle.h @@ -114,6 +114,8 @@ typedef struct { ngx_array_t env; char **environment; + + ngx_uint_t transparent; /* unsigned transparent:1; */ } ngx_core_conf_t; |