summaryrefslogtreecommitdiff
path: root/kern/linux/linux.hh
diff options
context:
space:
mode:
Diffstat (limited to 'kern/linux/linux.hh')
-rw-r--r--kern/linux/linux.hh17
1 files changed, 0 insertions, 17 deletions
diff --git a/kern/linux/linux.hh b/kern/linux/linux.hh
index bab460333..63e0dd5ca 100644
--- a/kern/linux/linux.hh
+++ b/kern/linux/linux.hh
@@ -132,23 +132,6 @@ class Linux {
char machine[_SYS_NMLN]; //!< Machine type.
};
-
- /// 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
- };
-
/// Limit struct for getrlimit/setrlimit.
struct rlimit {
uint64_t rlim_cur; //!< soft limit