1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _ALPHA_RESOURCE_H
3#define _ALPHA_RESOURCE_H
4
5/*
6 * Alpha/Linux-specific ordering of these four resource limit IDs,
7 * the rest comes from the generic header:
8 */
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 */
13
14/*
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.
18 */
19#define RLIM_INFINITY		0x7ffffffffffffffful
20
21#include <asm-generic/resource.h>
22
23#endif /* _ALPHA_RESOURCE_H */
24