1 /* Bit values for resource limits. Linux/m68k version.
2 Copyright (C) 1996 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If
17 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
18 Cambridge, MA 02139, USA. */
20 /* These are the values for Linux/m68k. */
22 /* Kinds of resource limit. */
23 enum __rlimit_resource
25 /* Per-process CPU limit, in seconds. */
27 #define RLIMIT_CPU RLIMIT_CPU
28 /* Largest file that can be created, in bytes. */
30 #define RLIMIT_FSIZE RLIMIT_FSIZE
31 /* Maximum size of data segment, in bytes. */
33 #define RLIMIT_DATA RLIMIT_DATA
34 /* Maximum size of stack segment, in bytes. */
36 #define RLIMIT_STACK RLIMIT_STACK
37 /* Largest core file that can be created, in bytes. */
39 #define RLIMIT_CORE RLIMIT_CORE
40 /* Largest resident set size, in bytes.
41 This affects swapping; processes that are exceeding their
42 resident set size will be more likely to have physical memory
45 #define RLIMIT_RSS RLIMIT_RSS
46 /* Number of processes. */
48 #define RLIMIT_NPROC RLIMIT_NPROC
49 /* Number of open files. */
51 #define RLIMIT_OFILE RLIMIT_OFILE
52 RLIMIT_NOFILE
= RLIMIT_OFILE
, /* Another name for the same thing. */
53 #define RLIMIT_NOFILE RLIMIT_NOFILE
54 /* Locked-in-memory address space. */
56 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
57 /* Address space limit. */
59 #define RLIMIT_AS RLIMIT_AS
61 RLIMIT_NLIMITS
, /* Number of limit flavors. */
62 RLIM_NLIMITS
= RLIMIT_NLIMITS
/* Traditional name for same. */