Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0e209536
Commit
0e209536
authored
May 06, 2002
by
Roman Zippel
Committed by
Linus Torvalds
May 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] m68k: rlimits update [16/20]
Update INIT_RLIMITS.
parent
4ee4400d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
include/asm-m68k/resource.h
include/asm-m68k/resource.h
+14
-14
No files found.
include/asm-m68k/resource.h
View file @
0e209536
...
...
@@ -13,7 +13,7 @@
#define RLIMIT_RSS 5
/* max resident set size */
#define RLIMIT_NPROC 6
/* max number of processes */
#define RLIMIT_NOFILE 7
/* max number of open files */
#define RLIMIT_MEMLOCK 8
/* max locked-in-memory address space*/
#define RLIMIT_MEMLOCK 8
/* max locked-in-memory address space
*/
#define RLIMIT_AS 9
/* address space limit */
#define RLIMIT_LOCKS 10
/* maximum file locks held */
...
...
@@ -27,19 +27,19 @@
#ifdef __KERNEL__
#define INIT_RLIMITS \
{
\
{LONG_MAX, LONG_MAX},
\
{LONG_MAX, LONG_MAX},
\
{LONG_MAX, LONG_MAX},
\
{_STK_LIM, LONG_MAX},
\
{ 0, LONG_MAX},
\
{LONG_MAX, LONG_MAX},
\
{0, 0
}, \
{INR_OPEN, INR_OPEN},
\
{LONG_MAX, LONG_MAX},
\
{LONG_MAX, LONG_MAX},
\
{LONG_MAX, LONG_MAX}
\
#define INIT_RLIMITS
\
{
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ _STK_LIM, RLIM_INFINITY },
\
{ 0, RLIM_INFINITY },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ 0, 0
}, \
{ INR_OPEN, INR_OPEN },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
{ RLIM_INFINITY, RLIM_INFINITY },
\
}
#endif
/* __KERNEL__ */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment