summaryrefslogtreecommitdiff
path: root/arch/alpha/tru64/tru64.hh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/tru64/tru64.hh')
-rw-r--r--arch/alpha/tru64/tru64.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/alpha/tru64/tru64.hh b/arch/alpha/tru64/tru64.hh
index 63eff656b..19343ba23 100644
--- a/arch/alpha/tru64/tru64.hh
+++ b/arch/alpha/tru64/tru64.hh
@@ -104,6 +104,22 @@ class AlphaTru64 : public Tru64
/// For table().
static const int TBL_SYSINFO = 12;
//@}
+
+ /// Resource enumeration for getrlimit().
+ enum rlimit_resources {
+ TGT_RLIMIT_CPU = 0,
+ TGT_RLIMIT_FSIZE = 1,
+ TGT_RLIMIT_DATA = 2,
+ TGT_RLIMIT_STACK = 3,
+ TGT_RLIMIT_CORE = 4,
+ TGT_RLIMIT_RSS = 5,
+ TGT_RLIMIT_NOFILE = 6,
+ TGT_RLIMIT_AS = 7,
+ TGT_RLIMIT_VMEM = 7,
+ TGT_RLIMIT_NPROC = 8,
+ TGT_RLIMIT_MEMLOCK = 9,
+ TGT_RLIMIT_LOCKS = 10
+ };
};