1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 296433f6eSDavid Howells #ifndef _ALPHA_RESOURCE_H 396433f6eSDavid Howells #define _ALPHA_RESOURCE_H 496433f6eSDavid Howells 596433f6eSDavid Howells /* 696433f6eSDavid Howells * Alpha/Linux-specific ordering of these four resource limit IDs, 796433f6eSDavid Howells * the rest comes from the generic header: 896433f6eSDavid Howells */ 996433f6eSDavid Howells #define RLIMIT_NOFILE 6 /* max number of open files */ 1096433f6eSDavid Howells #define RLIMIT_AS 7 /* address space limit */ 1196433f6eSDavid Howells #define RLIMIT_NPROC 8 /* max number of processes */ 1296433f6eSDavid Howells #define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */ 1396433f6eSDavid Howells 1496433f6eSDavid Howells /* 1596433f6eSDavid Howells * SuS says limits have to be unsigned. Fine, it's unsigned, but 1696433f6eSDavid Howells * we retain the old value for compatibility, especially with DU. 1796433f6eSDavid Howells * When you run into the 2^63 barrier, you call me. 1896433f6eSDavid Howells */ 1996433f6eSDavid Howells #define RLIM_INFINITY 0x7ffffffffffffffful 2096433f6eSDavid Howells 2196433f6eSDavid Howells #include <asm-generic/resource.h> 2296433f6eSDavid Howells 2396433f6eSDavid Howells #endif /* _ALPHA_RESOURCE_H */ 24