1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 103 unchanged lines hidden (view full) --- 112 } 113 114 /// For table(). 115 static const int TBL_SYSINFO = 12; 116 117 /// Resource constants for getrlimit() (overide some generics). 118 static const unsigned TGT_RLIMIT_NPROC = 8; 119 static const unsigned TGT_RLIMIT_AS = 6; |
120 static const unsigned TGT_RLIMIT_RSS = 7; |
121 static const unsigned TGT_RLIMIT_NOFILE = 5; 122 static const unsigned TGT_RLIMIT_MEMLOCK = 9; 123 124 /// Offset used to make sure that processes don't 125 /// assign themselves to process IDs reserved for 126 /// the root users. 127 static const int NUM_ROOT_PROCS = 2; 128 --- 18 unchanged lines hidden --- |