Report the stack size from getrlimit(), we might want to get fancier later but that should be enough. Tcl will want that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24893 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
85e1e2f4d6
commit
c4a7b4e09e
@ -2380,6 +2380,11 @@ getrlimit(int resource, struct rlimit * rlp)
|
||||
case RLIMIT_NOVMON:
|
||||
return vfs_getrlimit(resource, rlp);
|
||||
|
||||
case RLIMIT_STACK:
|
||||
rlp->rlim_cur = USER_STACK_SIZE;
|
||||
rlp->rlim_max = USER_STACK_SIZE;
|
||||
return 0;
|
||||
|
||||
default:
|
||||
return EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user