From: Jim Meyering Date: Wed, 21 Dec 2005 09:48:41 +0000 (+0000) Subject: . X-Git-Tag: v6.0~1056 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05eb4556c86cf7c3584731bf198cb969761e5bdd;p=thirdparty%2Fcoreutils.git . --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 2ee91a1091..0ba246959d 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -8,6 +8,10 @@ * mkdir-p.c (RW_USR): Remove definition. (make_dir_parents): Use S_IRWXU, now that read access is also required. + Avoid a race condition, on systems where open honors O_NOFOLLOW. + * mkdir-p.c (make_dir_parents): Include chdir-safer.h. + Use chdir_no_follow in place of chdir. + * mkdir-p.c (make_dir_parents): Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).