mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-06 12:00:24 +08:00
Add RLIMIT_LOCKS.
This commit is contained in:
parent
671b38f832
commit
f0cd8b6f6d
@ -1,5 +1,5 @@
|
|||||||
/* Bit values & structures for resource limits. Alpha/Linux version.
|
/* Bit values & structures for resource limits. Alpha/Linux version.
|
||||||
Copyright (C) 1994, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1994,96,97,98,99,2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -76,7 +76,11 @@ enum __rlimit_resource
|
|||||||
RLIMIT_MEMLOCK = 9,
|
RLIMIT_MEMLOCK = 9,
|
||||||
#define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
|
#define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
|
||||||
|
|
||||||
RLIM_NLIMITS = 10
|
/* Maximum number of file locks. */
|
||||||
|
RLIMIT_LOCKS = 10,
|
||||||
|
#define RLIMIT_LOCKS RLIMIT_LOCKS
|
||||||
|
|
||||||
|
RLIM_NLIMITS = 11
|
||||||
#define RLIMIT_NLIMITS RLIMIT_NLIMITS
|
#define RLIMIT_NLIMITS RLIMIT_NLIMITS
|
||||||
#define RLIM_NLIMITS RLIM_NLIMITS
|
#define RLIM_NLIMITS RLIM_NLIMITS
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user