From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schwab To: Jakub Jelinek Cc: Ulrich Drepper , Thorsten Kukuk , libc-hacker@sourceware.cygnus.com Subject: Re: rlimit changes Date: Mon, 13 Dec 1999 02:54:00 -0000 Message-id: References: <19991210183351.B6289@Wotan.suse.de> <19991213104100.B822@mff.cuni.cz> X-SW-Source: 1999-12/msg00053.html Jakub Jelinek writes: |> On Mon, Dec 13, 1999 at 10:25:09AM +0100, Andreas Schwab wrote: |> > Ulrich Drepper writes: |> > |> > |> It is not possible to fix the Alpha problems without removing the |> > |> generic stuff. |> > |> > This is wrong. Only the lines |> > |> > ifeq ($(subdir),resource) |> > sysdep_routines += oldgetrlimit64 oldsetrlimit64 |> > endif |> > |> > should be moved to the 32 bit arch subdirs. Everything else is ok. |> |> What's so generic about getrlimit.c? It will work on i386, ppc, won't work on alpha, |> sparc, sparc64. For other architectures it depends what will be written. It should work on all platforms that still use the old RLIM_INFINITY, and those that define ugetrlimit. That should currently be all 2.2 kernels. |> sparc32 at the moment does not define any ugetrlimit syscall, but defines |> getrlimit and old_getrlimit. So sparc32 probably needs it's own getrlimit. That does not require removing the generic getrlimit. Andreas. -- Andreas Schwab "And now for something SuSE Labs completely different." schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg