Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
ddf23e87
Commit
ddf23e87
authored
12 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
mn10300: switch to saner kernel_execve() semantics
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
ddffeb8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/mn10300/Kconfig
+1
-0
1 addition, 0 deletions
arch/mn10300/Kconfig
arch/mn10300/include/asm/unistd.h
+0
-1
0 additions, 1 deletion
arch/mn10300/include/asm/unistd.h
arch/mn10300/kernel/entry.S
+1
-6
1 addition, 6 deletions
arch/mn10300/kernel/entry.S
with
2 additions
and
7 deletions
arch/mn10300/Kconfig
+
1
−
0
View file @
ddf23e87
...
@@ -9,6 +9,7 @@ config MN10300
...
@@ -9,6 +9,7 @@ config MN10300
select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER
select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER
select GENERIC_CLOCKEVENTS
select GENERIC_CLOCKEVENTS
select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_THREAD
select GENERIC_KERNEL_EXECVE
select MODULES_USE_ELF_RELA
select MODULES_USE_ELF_RELA
config AM33_2
config AM33_2
...
...
This diff is collapsed.
Click to expand it.
arch/mn10300/include/asm/unistd.h
+
0
−
1
View file @
ddf23e87
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGACTION
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_SYS_EXECVE
#define __ARCH_WANT_KERNEL_EXECVE
/*
/*
* "Conditional" syscalls
* "Conditional" syscalls
...
...
This diff is collapsed.
Click to expand it.
arch/mn10300/kernel/entry.S
+
1
−
6
View file @
ddf23e87
...
@@ -60,13 +60,8 @@ ENTRY(ret_from_kernel_thread)
...
@@ -60,13 +60,8 @@ ENTRY(ret_from_kernel_thread)
mov
(
REG_D0
,
fp
),
d0
mov
(
REG_D0
,
fp
),
d0
mov
(
REG_A0
,
fp
),
a0
mov
(
REG_A0
,
fp
),
a0
calls
(
a0
)
calls
(
a0
)
jmp
sys_exit
ENTRY
(
ret_from_kernel_execve
)
add
-
12
,
d0
/*
pt_regs
->
frame
*/
mov
d0
,
sp
GET_THREAD_INFO
a2
clr
d0
clr
d0
mov
d0
,(
REG_D0
,
fp
)
jmp
syscall_exit
jmp
syscall_exit
###############################################################################
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment