2005-05-13 10:57:08 +02:00
|
|
|
/* Constants used by the Process Manager. */
|
2005-05-03 17:35:52 +02:00
|
|
|
|
2005-06-30 14:56:34 +02:00
|
|
|
#define NR_PIDS 30000 /* process ids range from 0 to NR_PIDS-1.
|
|
|
|
* (magic constant: some old applications use
|
|
|
|
* a 'short' instead of pid_t.)
|
|
|
|
*/
|
2005-06-24 18:21:21 +02:00
|
|
|
|
|
|
|
#define PM_PID 0 /* PM's process id number */
|
|
|
|
#define INIT_PID 1 /* INIT's process id number */
|
|
|
|
|
2006-05-11 16:57:23 +02:00
|
|
|
#define DUMPED 0200 /* bit set in status when core dumped */
|
|
|
|
|
2009-08-15 18:09:32 +02:00
|
|
|
#define MAX_SECS (((1<<(sizeof(clock_t)*8-1))-1)/system_hz)
|
|
|
|
/* max.secs for setitimer() ((2^31-1)/HZ) */
|
2009-08-15 23:37:26 +02:00
|
|
|
#define NR_ITIMERS 3 /* number of supported interval timers */
|