Re: [PATCH] sparc: avoid CHILD_MAX and OPEN_MAX constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Roland McGrath <roland@xxxxxxxxxx>
Date: Tue, 13 Mar 2007 01:25:28 -0700 (PDT)

> 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@xxxxxxxxxx>

Thanks Roland, I'll apply this soon.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux