18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef _ALPHA_RESOURCE_H 38c2ecf20Sopenharmony_ci#define _ALPHA_RESOURCE_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * Alpha/Linux-specific ordering of these four resource limit IDs, 78c2ecf20Sopenharmony_ci * the rest comes from the generic header: 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci#define RLIMIT_NOFILE 6 /* max number of open files */ 108c2ecf20Sopenharmony_ci#define RLIMIT_AS 7 /* address space limit */ 118c2ecf20Sopenharmony_ci#define RLIMIT_NPROC 8 /* max number of processes */ 128c2ecf20Sopenharmony_ci#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* 158c2ecf20Sopenharmony_ci * SuS says limits have to be unsigned. Fine, it's unsigned, but 168c2ecf20Sopenharmony_ci * we retain the old value for compatibility, especially with DU. 178c2ecf20Sopenharmony_ci * When you run into the 2^63 barrier, you call me. 188c2ecf20Sopenharmony_ci */ 198c2ecf20Sopenharmony_ci#define RLIM_INFINITY 0x7ffffffffffffffful 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#include <asm-generic/resource.h> 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#endif /* _ALPHA_RESOURCE_H */ 24