Static: support for openat2() features.
Support for chrooting, rejecting symlinks, and rejecting crossing mounting points on a per-request basis during static file serving.
This commit is contained in:
@@ -242,6 +242,10 @@
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
|
||||
#if (NXT_HAVE_OPENAT2)
|
||||
#include <linux/openat2.h>
|
||||
#endif
|
||||
|
||||
#if (NXT_TEST_BUILD)
|
||||
#include <nxt_test_build.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user