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
5522be6a
Commit
5522be6a
authored
Oct 10, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alpha: switch to saner kernel_execve() semantics
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
9fff2fa0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
17 deletions
+2
-17
arch/alpha/Kconfig
arch/alpha/Kconfig
+1
-0
arch/alpha/include/asm/unistd.h
arch/alpha/include/asm/unistd.h
+0
-1
arch/alpha/kernel/entry.S
arch/alpha/kernel/entry.S
+1
-16
No files found.
arch/alpha/Kconfig
View file @
5522be6a
...
...
@@ -21,6 +21,7 @@ config ALPHA
select GENERIC_STRNCPY_FROM_USER
select GENERIC_STRNLEN_USER
select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_EXECVE
help
The Alpha is a 64-bit general-purpose processor designed and
marketed by the Digital Equipment Corporation of blessed memory,
...
...
arch/alpha/include/asm/unistd.h
View file @
5522be6a
...
...
@@ -482,7 +482,6 @@
#define __ARCH_WANT_SYS_SIGPENDING
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_KERNEL_EXECVE
/* "Conditional" syscalls. What we want is
...
...
arch/alpha/kernel/entry.S
View file @
5522be6a
...
...
@@ -603,24 +603,9 @@ ret_from_kernel_thread:
mov
$
9
,
$
27
mov
$
10
,
$
16
jsr
$
26
,
(
$
9
)
ldgp
$gp
,
0
(
$
26
)
mov
$
0
,
$
16
mov
$
31
,
$
26
jmp
$
31
,
sys_exit
.
end
ret_from_kernel_thread
.
globl
ret_from_kernel_execve
.
align
4
.
ent
ret_from_kernel_execve
ret_from_kernel_execve
:
mov
$
16
,
$sp
/
*
Avoid
the
HAE
being
gratuitously
wrong
,
to
avoid
restoring
it
.
*/
ldq
$
2
,
alpha_mv
+
HAE_CACHE
stq
$
2
,
152
(
$sp
)
/*
HAE
*/
mov
$
31
,
$
19
/*
to
disable
syscall
restarts
*/
br
$
31
,
ret_to_user
.
end
ret_from_kernel_execve
.
end
ret_from_kernel_thread
/*
...
...
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