root/include/asm-ppc/resource.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _PPC_RESOURCE_H
   2 #define _PPC_RESOURCE_H
   3 
   4 /*
   5  * These were swiped from asm-i386 so they don't fit well with the
   6  * powerstack very well at all.  Anyone want to go through them and
   7  * correct them?
   8  *                              -- Cort
   9  */
  10 
  11 /*
  12  * Resource limits
  13  */
  14 
  15 #define RLIMIT_CPU      0               /* CPU time in ms */
  16 #define RLIMIT_FSIZE    1               /* Maximum filesize */
  17 #define RLIMIT_DATA     2               /* max data size */
  18 #define RLIMIT_STACK    3               /* max stack size */
  19 #define RLIMIT_CORE     4               /* max core file size */
  20 #define RLIMIT_RSS      5               /* max resident set size */
  21 #define RLIMIT_NPROC    6               /* max number of processes */
  22 #define RLIMIT_NOFILE   7               /* max number of open files */
  23 
  24 #ifdef notdef
  25 #define RLIMIT_MEMLOCK  8               /* max locked-in-memory address space*/
  26 #endif
  27 
  28 #define RLIM_NLIMITS    8
  29 
  30 #endif

/* [previous][next][first][last][top][bottom][index][help] */