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
nexedi
linux
Commits
723434dc
Commit
723434dc
authored
Oct 04, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Reserve syscall slot for VSERVER.
parent
d8e19d1a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
8 deletions
+11
-8
arch/sparc/kernel/entry.S
arch/sparc/kernel/entry.S
+1
-1
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+2
-2
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/entry.S
+1
-1
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+3
-2
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+2
-1
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+2
-1
No files found.
arch/sparc/kernel/entry.S
View file @
723434dc
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
#define curptr g6
#define curptr g6
#define NR_SYSCALLS 26
7
/* Each OS is different... */
#define NR_SYSCALLS 26
8
/* Each OS is different... */
/*
These
are
just
handy
.
*/
/*
These
are
just
handy
.
*/
#define _SV save %sp, -STACKFRAME_SZ, %sp
#define _SV save %sp, -STACKFRAME_SZ, %sp
...
...
arch/sparc/kernel/systbls.S
View file @
723434dc
...
@@ -72,7 +72,7 @@ sys_call_table:
...
@@ -72,7 +72,7 @@ sys_call_table:
/*
250
*/
.
long
sparc_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
/*
250
*/
.
long
sparc_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
/*
255
*/
.
long
sys_nis_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
255
*/
.
long
sys_nis_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
260
*/
.
long
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
/*
260
*/
.
long
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
/*
265
*/
.
long
sys_timer_delete
,
sys_timer_create
,
sys_nis_syscall
/*
265
*/
.
long
sys_timer_delete
,
sys_timer_create
,
sys_nis_syscall
,
sys_nis_syscall
#ifdef CONFIG_SUNOS_EMUL
#ifdef CONFIG_SUNOS_EMUL
/
*
Now
the
SunOS
syscall
table
.
*/
/
*
Now
the
SunOS
syscall
table
.
*/
...
@@ -171,6 +171,6 @@ sunos_sys_table:
...
@@ -171,6 +171,6 @@ sunos_sys_table:
.
long
sunos_nosys
.
long
sunos_nosys
/*
260
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
/*
260
*/
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
.
long
sunos_nosys
,
sunos_nosys
,
sunos_nosys
#endif
#endif
arch/sparc64/kernel/entry.S
View file @
723434dc
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#define curptr g6
#define curptr g6
#define NR_SYSCALLS 26
7
/* Each OS is different... */
#define NR_SYSCALLS 26
8
/* Each OS is different... */
.
text
.
text
.
align
32
.
align
32
...
...
arch/sparc64/kernel/systbls.S
View file @
723434dc
...
@@ -72,7 +72,7 @@ sys_call_table32:
...
@@ -72,7 +72,7 @@ sys_call_table32:
/*
250
*/
.
word
sys32_mremap
,
sys32_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys32_nfsservctl
/*
250
*/
.
word
sys32_mremap
,
sys32_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys32_nfsservctl
.
word
sys_ni_syscall
,
compat_clock_settime
,
compat_clock_gettime
,
compat_clock_getres
,
compat_clock_nanosleep
.
word
sys_ni_syscall
,
compat_clock_settime
,
compat_clock_gettime
,
compat_clock_getres
,
compat_clock_nanosleep
/*
260
*/
.
word
compat_sys_sched_getaffinity
,
compat_sys_sched_setaffinity
,
compat_timer_settime
,
compat_timer_gettime
,
sys_timer_getoverrun
/*
260
*/
.
word
compat_sys_sched_getaffinity
,
compat_sys_sched_setaffinity
,
compat_timer_settime
,
compat_timer_gettime
,
sys_timer_getoverrun
.
word
sys_timer_delete
,
sys32_timer_create
,
sys_ni_syscall
.
word
sys_timer_delete
,
sys32_timer_create
,
sys_ni_syscall
,
sys_ni_syscall
/
*
Now
the
64
-
bit
native
Linux
syscall
table
.
*/
/
*
Now
the
64
-
bit
native
Linux
syscall
table
.
*/
...
@@ -133,7 +133,7 @@ sys_call_table:
...
@@ -133,7 +133,7 @@ sys_call_table:
/*
250
*/
.
word
sys64_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
/*
250
*/
.
word
sys64_mremap
,
sys_sysctl
,
sys_getsid
,
sys_fdatasync
,
sys_nfsservctl
.
word
sys_ni_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
.
word
sys_ni_syscall
,
sys_clock_settime
,
sys_clock_gettime
,
sys_clock_getres
,
sys_clock_nanosleep
/*
260
*/
.
word
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
/*
260
*/
.
word
sys_sched_getaffinity
,
sys_sched_setaffinity
,
sys_timer_settime
,
sys_timer_gettime
,
sys_timer_getoverrun
.
word
sys_timer_delete
,
sys_timer_create
,
sys_ni_syscall
.
word
sys_timer_delete
,
sys_timer_create
,
sys_ni_syscall
,
sys_ni_syscall
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
#if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
defined
(
CONFIG_SOLARIS_EMUL_MODULE
)
...
@@ -233,5 +233,6 @@ sunos_sys_table:
...
@@ -233,5 +233,6 @@ sunos_sys_table:
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
#endif
#endif
include/asm-sparc/unistd.h
View file @
723434dc
...
@@ -283,7 +283,8 @@
...
@@ -283,7 +283,8 @@
#define __NR_timer_getoverrun 264
#define __NR_timer_getoverrun 264
#define __NR_timer_delete 265
#define __NR_timer_delete 265
#define __NR_timer_create 266
#define __NR_timer_create 266
/* WARNING: You MAY NOT add syscall numbers larger than 266, since
/* #define __NR_vserver 267 Reserved for VSERVER */
/* WARNING: You MAY NOT add syscall numbers larger than 267, since
* all of the syscall tables in the Sparc kernel are
* all of the syscall tables in the Sparc kernel are
* sized to have 267 entries (starting at zero). Therefore
* sized to have 267 entries (starting at zero). Therefore
* find a free slot in the 0-266 range.
* find a free slot in the 0-266 range.
...
...
include/asm-sparc64/unistd.h
View file @
723434dc
...
@@ -285,7 +285,8 @@
...
@@ -285,7 +285,8 @@
#define __NR_timer_getoverrun 264
#define __NR_timer_getoverrun 264
#define __NR_timer_delete 265
#define __NR_timer_delete 265
#define __NR_timer_create 266
#define __NR_timer_create 266
/* WARNING: You MAY NOT add syscall numbers larger than 266, since
/* #define __NR_vserver 267 Reserved for VSERVER */
/* WARNING: You MAY NOT add syscall numbers larger than 267, since
* all of the syscall tables in the Sparc kernel are
* all of the syscall tables in the Sparc kernel are
* sized to have 267 entries (starting at zero). Therefore
* sized to have 267 entries (starting at zero). Therefore
* find a free slot in the 0-266 range.
* find a free slot in the 0-266 range.
...
...
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