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

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Jan 08 2000 - 15:16:52 EST


Matthew Wilcox writes:
> On Fri, Jan 07, 2000 at 11:35:23PM +0000, Alan Cox wrote:
> > 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__)

You might as well drop __arm__ out of that as well now. I don't think they're
in use by any existing binaries today.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
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:13 EST