Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-06-27 14:24:39 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2014-06-27 14:24:39 +0400
commita6ae999b3b30ad522272325bac4c69b153150108 (patch)
tree0af61697af6661c9d45c28025f2404c522436278 /networking/slattach.c
parent5f8daefb835687e428215f90d26fdf1f0206149d (diff)
ftpd: escape chroot prior to re-executing ls helper
When we merely chdir to saved "real" root fd, exec("proc/self/exe") works for static executables but not for dynamic ones (they can't find their interpreter). With this patch, we also *chroot* to real root. As a bonus, this gives us proper usernames, timezone conversion etc. function old new delta popen_ls 203 259 +56 ftpd_main 2362 2366 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/slattach.c')
0 files changed, 0 insertions, 0 deletions