Mercurial > hg > nginx-quic
view docs/xml/change_log_conf.xml @ 4477:7033faf6dc3c
Added disable_symlinks directive.
To completely disable symlinks (disable_symlinks on)
we use openat(O_NOFOLLOW) for each path component
to avoid races.
To allow symlinks with the same owner (disable_symlinks if_not_owner),
use openat() (followed by fstat()) and fstatat(AT_SYMLINK_NOFOLLOW),
and then compare uids between fstat() and fstatat().
As there is a race between openat() and fstatat() we don't
know if openat() in fact opened symlink or not. Therefore,
we have to compare uids even if fstatat() reports the opened
component isn't a symlink (as we don't know whether it was
symlink during openat() or not).
Default value is off, i.e. symlinks are allowed.
author | Andrey Belov <defan@nginx.com> |
---|---|
date | Mon, 13 Feb 2012 16:29:04 +0000 |
parents | 76bc29f06168 |
children |
line wrap: on
line source
<?xml version="1.0" ?> <!DOCTYPE configuration SYSTEM "../dtd/change_log_conf.dtd" > <configuration> <length>76</length> <start> *) </start> <indent> </indent> <changes lang="ru"> <title>Изменения в </title> <length>66</length> <bugfix>Исправление</bugfix> <feature>Добавление</feature> <change>Изменение</change> <security>Безопасность</security> <workaround>Изменение</workaround> </changes> <changes lang="en"> <title>Changes with </title> <length>65</length> <bugfix>Bugfix</bugfix> <feature>Feature</feature> <change>Change</change> <security>Security</security> <workaround>Workaround</workaround> <month> Jan </month> <month> Feb </month> <month> Mar </month> <month> Apr </month> <month> May </month> <month> Jun </month> <month> Jul </month> <month> Aug </month> <month> Sep </month> <month> Oct </month> <month> Nov </month> <month> Dec </month> </changes> </configuration>