From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ameer Armaly" Subject: Re: oldstat and friends Date: Sun, 6 Aug 2006 22:29:25 -0400 Message-ID: <001301c6b9c9$4d1b5600$0400a8c0@ameer> References: <000701c6b9c2$2a21a5c0$0400a8c0@ameer> <20060807015300.GI4379@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Cc: Return-path: Received: from imf18aec.mail.bellsouth.net ([205.152.59.66]:37348 "EHLO imf18aec.mail.bellsouth.net") by vger.kernel.org with ESMTP id S1750910AbWHGC3J (ORCPT ); Sun, 6 Aug 2006 22:29:09 -0400 Received: from ibm61aec.bellsouth.net ([74.226.198.183]) by imf18aec.mail.bellsouth.net with ESMTP id <20060807022908.PEWG17566.imf18aec.mail.bellsouth.net@ibm61aec.bellsouth.net> for ; Sun, 6 Aug 2006 22:29:08 -0400 To: "Matthew Wilcox" Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org ----- Original Message ----- From: "Matthew Wilcox" To: "Ameer Armaly" Cc: Sent: Sunday, August 06, 2006 9:53 PM Subject: Re: oldstat and friends > On Sun, Aug 06, 2006 at 09:38:20PM -0400, Ameer Armaly wrote: >> Hi all. I was reading in to some of the fs code, and I've found out that >> oldstat and friends have been deprecated since linux 2.0. Is there any >> reason why these calls should not be removed outright or are there cases >> where they are still needed? > > We can still run binaries from 1991 or thereabouts. Removing oldstat > would break that ability. > > We should probably make those symbols conditional on CONFIG_BINFMT_AOUT > or introduce a new CONFIG_COMPAT_ANCIENT flag or something. > > Why are you keen to remove it? It doesn't cost many bytes of kernel > image. Nothing in particular, just seeing what can be cleaned out for purposes of cleaning out. > - > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" > in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html