added an Haiku-specific RLIMIT (NumOpenVnodeMONitors) (UNIMPLEMENTED yet) (we might want to renumber it),
and used that one and NOFILE to implement R5 private calls _kset_[fd|mon]_limit_() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17545 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -25,6 +25,10 @@ struct rlimit {
|
||||
#define RLIMIT_NOFILE 4 /* number of open files */
|
||||
#define RLIMIT_STACK 5 /* stack size */
|
||||
#define RLIMIT_AS 6 /* address space size */
|
||||
/* Haiku-specifics */
|
||||
#define RLIMIT_NOVMON 7 /* number of open vnode monitors */
|
||||
|
||||
#define RLIM_NLIMITS 8 /* number of resource limits */
|
||||
|
||||
#define RLIM_INFINITY (0xffffffffUL)
|
||||
#define RLIM_SAVED_MAX RLIM_INFINITY
|
||||
|
||||
Reference in New Issue
Block a user