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
c553b651
Commit
c553b651
authored
May 24, 2003
by
Geert Uytterhoeven
Committed by
Linus Torvalds
May 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k sys_ipc ENOSYS
M68k: Fix sys_ipc() to return ENOSYS instead of EINVAL as appropriate.
parent
c977adde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/m68k/kernel/sys_m68k.c
arch/m68k/kernel/sys_m68k.c
+3
-3
No files found.
arch/m68k/kernel/sys_m68k.c
View file @
c553b651
...
...
@@ -202,7 +202,7 @@ asmlinkage int sys_ipc (uint call, int first, int second,
return
sys_semctl
(
first
,
second
,
third
,
fourth
);
}
default:
return
-
E
INVAL
;
return
-
E
NOSYS
;
}
if
(
call
<=
MSGCTL
)
switch
(
call
)
{
...
...
@@ -233,7 +233,7 @@ asmlinkage int sys_ipc (uint call, int first, int second,
return
sys_msgctl
(
first
,
second
,
(
struct
msqid_ds
*
)
ptr
);
default:
return
-
E
INVAL
;
return
-
E
NOSYS
;
}
if
(
call
<=
SHMCTL
)
switch
(
call
)
{
...
...
@@ -256,7 +256,7 @@ asmlinkage int sys_ipc (uint call, int first, int second,
return
sys_shmctl
(
first
,
second
,
(
struct
shmid_ds
*
)
ptr
);
default:
return
-
E
INVAL
;
return
-
E
NOSYS
;
}
return
-
EINVAL
;
...
...
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