Re: [PATCH] POSIX sysconf() hooks via read-only sysctls

From: Matthew Wilcox (willy@thepuffingroup.com)
Date: Sat Jan 08 2000 - 14:42:54 EST


On Fri, Jan 07, 2000 at 11:35:23PM +0000, Alan Cox wrote:
> > Hi. Since my latest 32-bit UID patches still apply fine to 2.3.38pre1, I
>
> I'll send you some patches tomorrow btw. I got rid of a chunk of the ifdefs
> and moved most of the 16bit compat calls into kernel/uid16.o so we can
> eventually conditionally link it

While you're working in this area, Alan, would you like to also move some
of the old cruft from fs/stat.c into a new file which can be conditionally
linked? Perhaps even the same one. Or perhaps we can just delete these
syscalls, since I haven't noticed David Parsons complaining about `using
old stat() call. Recompile your binary' messages filling his syslog.

At the very least, we should invert the sense of the #if in stat.c:

#if defined(__i386__) || defined(__m68k__) || defined(__arm__)

is a lot better than

#if !defined(__alpha__) && !defined(__sparc__) && !defined(__ia64__)

since new architectures will not require these syscalls.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:12 EST