Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 19 Jan 2002 06:28:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 19 Jan 2002 06:28:48 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:40927 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Sat, 19 Jan 2002 06:28:38 -0500 Date: Sat, 19 Jan 2002 06:28:36 -0500 (EST) From: Alexander Viro To: Miquel van Smoorenburg cc: linux-kernel@vger.kernel.org Subject: Re: rm-ing files with open file descriptors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 19 Jan 2002, Miquel van Smoorenburg wrote: > This could be hacked around ofcourse in fs/namei.c, so I tried > it for fun. And indeed, with a minor correction it works: > > % perl flink.pl > Success. > > I now have a flink-test2.txt file. That is pretty cool ;) It's also a security hole. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/