linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* oldstat and friends
@ 2006-08-07  1:38 Ameer Armaly
  2006-08-07  1:53 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: Ameer Armaly @ 2006-08-07  1:38 UTC (permalink / raw)
  To: linux-fsdevel

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?


Ameer
---
Life is either tragedy or comedy. Usually it's your choice. You can whine or 
you can laugh.
--Animorphs 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oldstat and friends
  2006-08-07  1:38 oldstat and friends Ameer Armaly
@ 2006-08-07  1:53 ` Matthew Wilcox
  2006-08-07  2:29   ` Ameer Armaly
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2006-08-07  1:53 UTC (permalink / raw)
  To: Ameer Armaly; +Cc: linux-fsdevel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: oldstat and friends
  2006-08-07  1:53 ` Matthew Wilcox
@ 2006-08-07  2:29   ` Ameer Armaly
  0 siblings, 0 replies; 3+ messages in thread
From: Ameer Armaly @ 2006-08-07  2:29 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-fsdevel


----- Original Message ----- 
From: "Matthew Wilcox" <matthew@wil.cx>
To: "Ameer Armaly" <ameerarmaly@bellsouth.net>
Cc: <linux-fsdevel@vger.kernel.org>
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 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-07  2:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-07  1:38 oldstat and friends Ameer Armaly
2006-08-07  1:53 ` Matthew Wilcox
2006-08-07  2:29   ` Ameer Armaly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).