Mercurial > hg > nginx-quic
comparison src/core/ngx_cycle.h @ 7174:84e53e4735a4
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 13 Dec 2017 20:40:53 +0300 |
parents | 97c99bb43737 |
children | fc4d82c13c04 |
comparison
equal
deleted
inserted
replaced
7173:057adb2a9d23 | 7174:84e53e4735a4 |
---|---|
112 ngx_str_t pid; | 112 ngx_str_t pid; |
113 ngx_str_t oldpid; | 113 ngx_str_t oldpid; |
114 | 114 |
115 ngx_array_t env; | 115 ngx_array_t env; |
116 char **environment; | 116 char **environment; |
117 | |
118 ngx_uint_t transparent; /* unsigned transparent:1; */ | |
117 } ngx_core_conf_t; | 119 } ngx_core_conf_t; |
118 | 120 |
119 | 121 |
120 #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) | 122 #define ngx_is_init_cycle(cycle) (cycle->conf_ctx == NULL) |
121 | 123 |