GNU bug report logs - #30918
mv: don't use syscall() to call renameat2()

Previous Next

Package: coreutils;

Reported by: Ross Burton <ross <at> burtonini.com>

Date: Fri, 23 Mar 2018 18:17:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Clint Adams <clint <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 30918 <at> debbugs.gnu.org, Ross Burton <ross <at> burtonini.com>
Subject: bug#30918: Don't use syscall() to call renameat2()
Date: Sat, 24 Mar 2018 21:00:24 +0000
On Fri, Mar 23, 2018 at 12:02:36PM -0700, Paul Eggert wrote:
> That would reintroduce race-condition security holes in the ordinary build
> of GNU Coreutils on GNU/Linux, which would not be a good thing. Instead, how
> about fixing fakeroot so that it traps 'syscall' and fails with errno ==
> ENOTSUP? Better yet, fix fakeroot so that it implements the renameat2
> semantics with that syscall. (Or even better, add renameat2 to both glibc
> and fakeroot. :-)

What's keeping it out of glibc?




This bug report was last modified 6 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.