linux/arch/sparc
Roland McGrath 1d51c69fb6 [SPARC]: avoid CHILD_MAX and OPEN_MAX constants
I don't figure anyone really cares about SunOS syscall emulation, and I
certainly don't.  But I'm getting rid of uses of the OPEN_MAX and CHILD_MAX
compile-time constant, and these are almost the only ones.  OPEN_MAX is a
bogus constant with no meaning about anything.  The RLIMIT_NOFILE resource
limit is what sysconf (_SC_OPEN_MAX) actually wants to return.

The CHILD_MAX cases weren't actually using anything I want to get rid of,
but I noticed that they are there and are wrong too.  The CHILD_MAX value
is not really unlimited as a -1 return from sysconf indicates.  The
RLIMIT_NPROC resource limit is what sysconf (_SC_CHILD_MAX) wants to return.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-12 13:13:42 -07:00
..
boot
kernel [SPARC]: avoid CHILD_MAX and OPEN_MAX constants 2007-04-12 13:13:42 -07:00
lib [SPARC32]: Fix SMP build regression 2007-03-26 21:49:13 -07:00
math-emu kbuild: use relative path to -I 2006-04-04 16:56:10 +02:00
mm [PATCH] sparc: nr_free_pages() is unsigned long 2007-03-14 15:27:50 -07:00
oprofile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00
prom [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
defconfig [SPARC]: Update defconfig. 2006-12-17 14:21:34 -08:00
Kconfig [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
Kconfig.debug
Makefile [SPARC]: Add sparc profiling support 2006-10-17 19:28:53 -07:00