bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30918: Don't use syscall() to call renameat2()


From: Paul Eggert
Subject: bug#30918: Don't use syscall() to call renameat2()
Date: Fri, 23 Mar 2018 12:02:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 03/23/2018 10:38 AM, Ross Burton wrote:
Please consider
changing renameat2.c so that it doesn't hit syscall() if the wrapper isn't
available.

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. :-)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]