3 * List of resource limits known to mankind
5 * (c) 1999 Straylight/Edgeware
8 /*----- Licensing notice --------------------------------------------------*
10 * This file is part of the `fwd' port forwarder.
12 * `fwd' is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * `fwd' is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with `fwd'; if not, write to the Free Software Foundation,
24 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 /*----- Magic -------------------------------------------------------------*/
30 # error "Don't try including rlimits.h unless you know what you're doing"
33 #if defined(RLIMIT_OFILE) && !defined(RLIMIT_NOFILE)
34 # define RLIMIT_NOFILE RLIMIT_OFILE
50 R(RLIMIT_FSIZE
, fsize
)
53 R(RLIMIT_LOCKS
, locks
)
56 R(RLIMIT_MEMLOCK
, memlock
)
58 #ifdef RLIMIT_MSGQUEUE
59 R(RLIMIT_MSGQUEUE
, msgqueue
)
65 R(RLIMIT_NOFILE
, nofile
)
68 R(RLIMIT_NPROC
, nproc
)
74 R(RLIMIT_RTPRIO
, rtprio
)
76 #ifdef RLIMIT_SIGPENDING
77 R(RLIMIT_SIGPENDING
, sigpending
)
80 R(RLIMIT_STACK
, stack
)
88 /*----- That's all, folks -------------------------------------------------*/