162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
262306a36Sopenharmony_ci#ifndef _ALPHA_RESOURCE_H
362306a36Sopenharmony_ci#define _ALPHA_RESOURCE_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*
662306a36Sopenharmony_ci * Alpha/Linux-specific ordering of these four resource limit IDs,
762306a36Sopenharmony_ci * the rest comes from the generic header:
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci#define RLIMIT_NOFILE		6	/* max number of open files */
1062306a36Sopenharmony_ci#define RLIMIT_AS		7	/* address space limit */
1162306a36Sopenharmony_ci#define RLIMIT_NPROC		8	/* max number of processes */
1262306a36Sopenharmony_ci#define RLIMIT_MEMLOCK		9	/* max locked-in-memory address space */
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci/*
1562306a36Sopenharmony_ci * SuS says limits have to be unsigned.  Fine, it's unsigned, but
1662306a36Sopenharmony_ci * we retain the old value for compatibility, especially with DU.
1762306a36Sopenharmony_ci * When you run into the 2^63 barrier, you call me.
1862306a36Sopenharmony_ci */
1962306a36Sopenharmony_ci#define RLIM_INFINITY		0x7ffffffffffffffful
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#include <asm-generic/resource.h>
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#endif /* _ALPHA_RESOURCE_H */
24