Subject: Re: PID_MAX and NO_PID
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 12/18/2002 12:40:08
>> Which ones are they?
>> How insane would it be to restrict it to SHRT_MAX-1 if those COMPAT
>> options are enabled, otherwise 99999 ?
>
>Another option might be, by default at least, to do something like we
>do for ptys: allocate pids for native processes from the > 16-bit part
>of the space first, saving pids for iBCS2 binaries in the low part of
>the space. If we believe that iBCS2 binaries are unlikely to need to
>refer to native processes by pid (possible, though handling getppid()
>might be a bit iffy) this might work.
exec failed: EPPIDTOOLARGE
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."