oldstat and friends
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
Quoted 4 lines · Ameer Armaly
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.
----- Original Message ----- From: "Matthew Wilcox" <[email protected]>
To: "Ameer Armaly" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, August 06, 2006 9:53 PM
Subject: Re: oldstat and friends
Quoted 6 lines · Ameer Armaly
Quoted 4 lines
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?
Quoted 8 lines
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_AOUTor introduce a newCONFIG_COMPAT_ANCIENTflag 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.
Quoted 4 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html