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
42d85c52
Commit
42d85c52
authored
Dec 31, 2015
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Wire up mlock2 system call.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
8b30ca73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
arch/sparc/include/uapi/asm/unistd.h
arch/sparc/include/uapi/asm/unistd.h
+2
-1
arch/sparc/kernel/systbls_32.S
arch/sparc/kernel/systbls_32.S
+1
-1
arch/sparc/kernel/systbls_64.S
arch/sparc/kernel/systbls_64.S
+2
-2
No files found.
arch/sparc/include/uapi/asm/unistd.h
View file @
42d85c52
...
@@ -421,8 +421,9 @@
...
@@ -421,8 +421,9 @@
#define __NR_bind 353
#define __NR_bind 353
#define __NR_listen 354
#define __NR_listen 354
#define __NR_setsockopt 355
#define __NR_setsockopt 355
#define __NR_mlock2 356
#define NR_syscalls 35
6
#define NR_syscalls 35
7
/* Bitmask values returned from kern_features system call. */
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001
...
...
arch/sparc/kernel/systbls_32.S
View file @
42d85c52
...
@@ -88,4 +88,4 @@ sys_call_table:
...
@@ -88,4 +88,4 @@ sys_call_table:
/*
340
*/
.
long
sys_ni_syscall
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
/*
340
*/
.
long
sys_ni_syscall
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
/*
345
*/
.
long
sys_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
/*
345
*/
.
long
sys_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
/*
350
*/
.
long
sys_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
/*
350
*/
.
long
sys_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
/*
355
*/
.
long
sys_setsockopt
/*
355
*/
.
long
sys_setsockopt
,
sys_mlock2
arch/sparc/kernel/systbls_64.S
View file @
42d85c52
...
@@ -89,7 +89,7 @@ sys_call_table32:
...
@@ -89,7 +89,7 @@ sys_call_table32:
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
.
word
sys32_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
.
word
sys32_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
/*
350
*/
.
word
sys32_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
/*
350
*/
.
word
sys32_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
.
word
compat_sys_setsockopt
.
word
compat_sys_setsockopt
,
sys_mlock2
#endif /* CONFIG_COMPAT */
#endif /* CONFIG_COMPAT */
...
@@ -170,4 +170,4 @@ sys_call_table:
...
@@ -170,4 +170,4 @@ sys_call_table:
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
/*
340
*/
.
word
sys_kern_features
,
sys_kcmp
,
sys_finit_module
,
sys_sched_setattr
,
sys_sched_getattr
.
word
sys_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
.
word
sys_renameat2
,
sys_seccomp
,
sys_getrandom
,
sys_memfd_create
,
sys_bpf
/*
350
*/
.
word
sys64_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
/*
350
*/
.
word
sys64_execveat
,
sys_membarrier
,
sys_userfaultfd
,
sys_bind
,
sys_listen
.
word
sys_setsockopt
.
word
sys_setsockopt
,
sys_mlock2
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