sys_getrlimit: modified to return mcexec's RLIMIT_STACK

This commit is contained in:
NAKAMURA Gou
2013-10-11 20:27:17 +09:00
parent bc173baf13
commit 4fb6620f3a
7 changed files with 23 additions and 3 deletions

View File

@@ -36,6 +36,7 @@
#include <waitq.h>
#include <futex.h>
#include <rlimit.h>
struct vm_range {
struct list_head list;
@@ -90,6 +91,7 @@ struct process {
char sigstack[512];
// TODO: backup FR and MMX regs
unsigned long sigrc; // return code of rt_sigreturn (x86_64: rax reg.)
struct rlimit rlimit_stack;
};
struct process_vm {