1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ALPHA_RESOURCE_H
3 #define _ALPHA_RESOURCE_H
6 * Alpha/Linux-specific ordering of these four resource limit IDs,
7 * the rest comes from the generic header:
9 #define RLIMIT_NOFILE 6 /* max number of open files */
10 #define RLIMIT_AS 7 /* address space limit */
11 #define RLIMIT_NPROC 8 /* max number of processes */
12 #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */
15 * SuS says limits have to be unsigned. Fine, it's unsigned, but
16 * we retain the old value for compatibility, especially with DU.
17 * When you run into the 2^63 barrier, you call me.
19 #define RLIM_INFINITY 0x7ffffffffffffffful
21 #include <asm-generic/resource.h>
23 #endif /* _ALPHA_RESOURCE_H */