aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_open_file_cache.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-02-27 16:46:57 +0000
committerValentin Bartenev <vbart@nginx.com>2012-02-27 16:46:57 +0000
commit346791187f358f852c2434f29a86754e7ab10f5b (patch)
tree00a76bb7544987c8e932717687bdf8510253c634 /src/core/ngx_open_file_cache.h
parent075e852a4eec38b59de233dc6cbc1704def3f29c (diff)
downloadnginx-346791187f358f852c2434f29a86754e7ab10f5b.tar.gz
nginx-346791187f358f852c2434f29a86754e7ab10f5b.zip
Disable symlinks: added the "from" parameter support to the open file cache.
Diffstat (limited to 'src/core/ngx_open_file_cache.h')
-rw-r--r--src/core/ngx_open_file_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h
index 0ff345318..d119c1296 100644
--- a/src/core/ngx_open_file_cache.h
+++ b/src/core/ngx_open_file_cache.h
@@ -33,6 +33,7 @@ typedef struct {
ngx_uint_t min_uses;
#if (NGX_HAVE_OPENAT)
+ size_t disable_symlinks_from;
unsigned disable_symlinks:2;
#endif
@@ -69,6 +70,7 @@ struct ngx_cached_open_file_s {
uint32_t uses;
#if (NGX_HAVE_OPENAT)
+ size_t disable_symlinks_from;
unsigned disable_symlinks:2;
#endif