RLIM_NLIMITS
for (resource = 0; resource < RLIM_NLIMITS; resource++) {
static char set_current[RLIM_NLIMITS];
static char set_maximum[RLIM_NLIMITS];
static struct rlimit64 rlimit[RLIM_NLIMITS];
for (which = 0; which < RLIM_NLIMITS; which++) {
for (res = 0; res < RLIM_NLIMITS; res++) {
char resources[RLIM_NLIMITS];
for (res = 0; res < RLIM_NLIMITS; res++) {
for (res = 0; res < RLIM_NLIMITS; res++) {
cnt = RLIM_NLIMITS;
for (i = 0; i < RLIM_NLIMITS; i++) {
default_gp = rctl_rlimit_set_prealloc(RLIM_NLIMITS);
rctl_hndl_t rctlproc_legacy[RLIM_NLIMITS];
uint_t rctlproc_flags[RLIM_NLIMITS] = {
int rctlproc_signals[RLIM_NLIMITS] = {
#define RLIM_NSAVED RLIM_NLIMITS /* size of u_saved_rlimits[] */
if (resource < 0 || resource >= RLIM_NLIMITS)
if (resource < 0 || resource >= RLIM_NLIMITS)
if (resource < 0 || resource >= RLIM_NLIMITS)
if (resource < 0 || resource >= RLIM_NLIMITS)