Path: blob/master/arch/mips/include/uapi/asm/resource.h
26496 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* This file is subject to the terms and conditions of the GNU General Public3* License. See the file "COPYING" in the main directory of this archive4* for more details.5*6* Copyright (C) 1995, 96, 98, 99, 2000 by Ralf Baechle7* Copyright (C) 1999 Silicon Graphics, Inc.8*/9#ifndef _ASM_RESOURCE_H10#define _ASM_RESOURCE_H111213/*14* These five resource limit IDs have a MIPS/Linux-specific ordering,15* the rest comes from the generic header:16*/17#define RLIMIT_NOFILE 5 /* max number of open files */18#define RLIMIT_AS 6 /* address space limit */19#define RLIMIT_RSS 7 /* max resident set size */20#define RLIMIT_NPROC 8 /* max number of processes */21#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */2223/*24* SuS says limits have to be unsigned.25* Which makes a ton more sense anyway,26* but we keep the old value on MIPS32,27* for compatibility:28*/29#ifndef __mips6430# define RLIM_INFINITY 0x7fffffffUL31#endif3233#include <asm-generic/resource.h>3435#endif /* _ASM_RESOURCE_H */363738