mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-17 21:52:56 +08:00
update 2026-08-11 16:47:57
This commit is contained in:
1 parent
c63c46f0ce
commit
903417940c
1954 files changed
+1523037
-30
No files matched your search
@@ -0,0 +1,19 @@
|
||||
--- a/secutil.c
|
||||
+++ b/secutil.c
|
||||
@@ -129,16 +129,5 @@ vsf_secutil_change_credentials(const struct mystr* p_user_str,
|
||||
{
|
||||
vsf_sysutil_set_no_procs();
|
||||
}
|
||||
- /* Misconfiguration check: don't ever chroot() to a directory writable by
|
||||
- * the current user.
|
||||
- */
|
||||
- if ((options & VSF_SECUTIL_OPTION_CHROOT) &&
|
||||
- !(options & VSF_SECUTIL_OPTION_ALLOW_WRITEABLE_ROOT))
|
||||
- {
|
||||
- if (vsf_sysutil_write_access("/"))
|
||||
- {
|
||||
- die("vsftpd: refusing to run with writable root inside chroot()");
|
||||
- }
|
||||
- }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user