From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#27986: 26.0.50; 'rename-file' can rename files without confirmation Date: Sat, 19 Aug 2017 15:38:47 -0700 Organization: UCLA Computer Science Department Message-ID: <9bca5f61-1090-9a39-099a-13e4ed7a87ea@cs.ucla.edu> References: <61980dde-3d68-7200-e7f4-98f62e410060@cs.ucla.edu> <0e80a1cf-8217-9e9a-a00f-9fdbd6575fc4@cs.ucla.edu> <0a79089f-36ed-8183-a3bf-6cfa32cb9028@cs.ucla.edu> <6dbd21fd-d191-812a-5810-cb4fbcfbcb20@cornell.edu> <0720ef94-7787-94e7-a44d-576ec7f75607@cornell.edu> <5b8f4814-a6bd-d373-f0e6-217845b44f1d@cornell.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1503182358 30514 195.159.176.226 (19 Aug 2017 22:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2017 22:39:18 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Cc: 27986@debbugs.gnu.org To: Ken Brown , Philipp Stephani , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 20 00:39:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djCOY-0007Km-Cd for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Aug 2017 00:39:06 +0200 Original-Received: from localhost ([::1]:43395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djCOf-00016O-3Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Aug 2017 18:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djCOY-00015y-1U for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 18:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djCOU-00069j-UK for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 18:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djCOU-00069b-Qm for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 18:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1djCOU-0005rY-Bo for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2017 18:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2017 22:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 27986-submit@debbugs.gnu.org id=B27986.150318233922527 (code B ref 27986); Sat, 19 Aug 2017 22:39:02 +0000 Original-Received: (at 27986) by debbugs.gnu.org; 19 Aug 2017 22:38:59 +0000 Original-Received: from localhost ([127.0.0.1]:45919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djCOQ-0005rG-NN for submit@debbugs.gnu.org; Sat, 19 Aug 2017 18:38:58 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djCOP-0005r4-M6 for 27986@debbugs.gnu.org; Sat, 19 Aug 2017 18:38:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3A9AB160885; Sat, 19 Aug 2017 15:38:51 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id oGj0qLrWCLGx; Sat, 19 Aug 2017 15:38:50 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 848C316088E; Sat, 19 Aug 2017 15:38:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id j-26AOc4ep2Y; Sat, 19 Aug 2017 15:38:50 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 659B4160885; Sat, 19 Aug 2017 15:38:50 -0700 (PDT) In-Reply-To: <5b8f4814-a6bd-d373-f0e6-217845b44f1d@cornell.edu> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135926 Archived-At: On 08/19/2017 03:04 PM, Ken Brown wrote: > > Is there any (good) reason that glibc doesn't provide a wrapper for > it? It seems that this would be pretty trivial to do. On the glibc side there has been a concern that it support a good GNU libc interface that does not assume a Linux kernel, as opposed to merely being a thin wrapper around whatever system calls Linux happens to provide. I don't know what the specific objections to renameat2 are, though.