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
Kirill Smelkov
linux
Commits
bce0381a
Commit
bce0381a
authored
Apr 17, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Missed rusage/rlimit/wait4 compat conversions.
parent
11493c87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
arch/sparc64/kernel/sys_sunos32.c
arch/sparc64/kernel/sys_sunos32.c
+5
-4
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+3
-3
No files found.
arch/sparc64/kernel/sys_sunos32.c
View file @
bce0381a
...
...
@@ -800,15 +800,16 @@ asmlinkage int sunos_setpgrp(pid_t pid, pid_t pgid)
}
/* So stupid... */
extern
asmlinkage
int
sys32_wait4
(
compat_pid_t
pid
,
u32
stat_addr
,
int
options
,
u32
ru
);
extern
long
compat_sys_wait4
(
compat_pid_t
,
compat_uint_t
*
,
int
,
struct
compat_rusage
*
);
asmlinkage
int
sunos_wait4
(
compat_pid_t
pid
,
u32
stat_addr
,
int
options
,
u32
ru
)
{
int
ret
;
ret
=
sys32_wait4
((
pid
?
pid
:
((
compat_pid_t
)
-
1
)),
stat_addr
,
options
,
ru
);
ret
=
compat_sys_wait4
((
pid
?
pid
:
((
compat_pid_t
)
-
1
)),
(
compat_uint_t
*
)
A
(
stat_addr
),
options
,
(
struct
compat_rusage
*
)
A
(
ru
));
return
ret
;
}
...
...
arch/sparc64/kernel/systbls.S
View file @
bce0381a
...
...
@@ -180,7 +180,7 @@ sunos_sys_table:
.
word
sys_listen
,
sunos_nosys
,
sunos_sigaction
.
word
sunos_sigblock
,
sunos_sigsetmask
,
sys_sigpause
.
word
sys32_sigstack
,
compat_sys_recvmsg
,
compat_sys_sendmsg
.
word
sunos_nosys
,
sys32_gettimeofday
,
sys32
_getrusage
.
word
sunos_nosys
,
sys32_gettimeofday
,
compat_sys
_getrusage
.
word
sunos_getsockopt
,
sunos_nosys
,
sunos_readv
.
word
sunos_writev
,
sys32_settimeofday
,
sys32_fchown16
.
word
sys_fchmod
,
sys32_recvfrom
,
sys32_setreuid16
...
...
@@ -189,8 +189,8 @@ sunos_sys_table:
.
word
sys32_sendto
,
sys_shutdown
,
sys_socketpair
.
word
sys_mkdir
,
sys_rmdir
,
sys32_utimes
.
word
sys32_sigreturn
,
sunos_nosys
,
sys_getpeername
.
word
sunos_gethostid
,
sunos_nosys
,
sys32
_getrlimit
.
word
sys32
_setrlimit
,
sunos_killpg
,
sunos_nosys
.
word
sunos_gethostid
,
sunos_nosys
,
compat_sys
_getrlimit
.
word
compat_sys
_setrlimit
,
sunos_killpg
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
/*
150
*/
.
word
sys_getsockname
,
sunos_nosys
,
sunos_nosys
.
word
sys_poll
,
sunos_nosys
,
sunos_nosys
...
...
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