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
4edfba97
Commit
4edfba97
authored
Feb 11, 2003
by
Stephen Rothwell
Committed by
Linus Torvalds
Feb 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: sigprocmask/sigpending compat layer conversion.
parent
962bf880
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
35 deletions
+3
-35
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+0
-32
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+3
-3
No files found.
arch/sparc64/kernel/sys_sparc32.c
View file @
4edfba97
...
@@ -1679,23 +1679,6 @@ asmlinkage int sys32_sched_rr_get_interval(compat_pid_t pid, struct compat_times
...
@@ -1679,23 +1679,6 @@ asmlinkage int sys32_sched_rr_get_interval(compat_pid_t pid, struct compat_times
return
ret
;
return
ret
;
}
}
extern
asmlinkage
int
sys_sigprocmask
(
int
how
,
old_sigset_t
*
set
,
old_sigset_t
*
oset
);
asmlinkage
int
sys32_sigprocmask
(
int
how
,
compat_old_sigset_t
*
set
,
compat_old_sigset_t
*
oset
)
{
old_sigset_t
s
;
int
ret
;
mm_segment_t
old_fs
=
get_fs
();
if
(
set
&&
get_user
(
s
,
set
))
return
-
EFAULT
;
set_fs
(
KERNEL_DS
);
ret
=
sys_sigprocmask
(
how
,
set
?
&
s
:
NULL
,
oset
?
&
s
:
NULL
);
set_fs
(
old_fs
);
if
(
ret
)
return
ret
;
if
(
oset
&&
put_user
(
s
,
oset
))
return
-
EFAULT
;
return
0
;
}
extern
asmlinkage
int
sys_rt_sigprocmask
(
int
how
,
sigset_t
*
set
,
sigset_t
*
oset
,
size_t
sigsetsize
);
extern
asmlinkage
int
sys_rt_sigprocmask
(
int
how
,
sigset_t
*
set
,
sigset_t
*
oset
,
size_t
sigsetsize
);
asmlinkage
int
sys32_rt_sigprocmask
(
int
how
,
compat_sigset_t
*
set
,
compat_sigset_t
*
oset
,
compat_size_t
sigsetsize
)
asmlinkage
int
sys32_rt_sigprocmask
(
int
how
,
compat_sigset_t
*
set
,
compat_sigset_t
*
oset
,
compat_size_t
sigsetsize
)
...
@@ -1732,21 +1715,6 @@ asmlinkage int sys32_rt_sigprocmask(int how, compat_sigset_t *set, compat_sigset
...
@@ -1732,21 +1715,6 @@ asmlinkage int sys32_rt_sigprocmask(int how, compat_sigset_t *set, compat_sigset
return
0
;
return
0
;
}
}
extern
asmlinkage
int
sys_sigpending
(
old_sigset_t
*
set
);
asmlinkage
int
sys32_sigpending
(
compat_old_sigset_t
*
set
)
{
old_sigset_t
s
;
int
ret
;
mm_segment_t
old_fs
=
get_fs
();
set_fs
(
KERNEL_DS
);
ret
=
sys_sigpending
(
&
s
);
set_fs
(
old_fs
);
if
(
put_user
(
s
,
set
))
return
-
EFAULT
;
return
ret
;
}
extern
asmlinkage
int
sys_rt_sigpending
(
sigset_t
*
set
,
size_t
sigsetsize
);
extern
asmlinkage
int
sys_rt_sigpending
(
sigset_t
*
set
,
size_t
sigsetsize
);
asmlinkage
int
sys32_rt_sigpending
(
compat_sigset_t
*
set
,
compat_size_t
sigsetsize
)
asmlinkage
int
sys32_rt_sigpending
(
compat_sigset_t
*
set
,
compat_size_t
sigsetsize
)
...
...
arch/sparc64/kernel/systbls.S
View file @
4edfba97
...
@@ -55,7 +55,7 @@ sys_call_table32:
...
@@ -55,7 +55,7 @@ sys_call_table32:
.
word
sys_quotactl
,
sys_set_tid_address
,
sys32_mount
,
sys_ustat
,
sys_setxattr
.
word
sys_quotactl
,
sys_set_tid_address
,
sys32_mount
,
sys_ustat
,
sys_setxattr
/*
170
*/
.
word
sys_lsetxattr
,
sys_fsetxattr
,
sys_getxattr
,
sys_lgetxattr
,
sys32_getdents
/*
170
*/
.
word
sys_lsetxattr
,
sys_fsetxattr
,
sys_getxattr
,
sys_lgetxattr
,
sys32_getdents
.
word
sys_setsid
,
sys_fchdir
,
sys_fgetxattr
,
sys_listxattr
,
sys_llistxattr
.
word
sys_setsid
,
sys_fchdir
,
sys_fgetxattr
,
sys_listxattr
,
sys_llistxattr
/*
180
*/
.
word
sys_flistxattr
,
sys_removexattr
,
sys_lremovexattr
,
sys32
_sigpending
,
sys_ni_syscall
/*
180
*/
.
word
sys_flistxattr
,
sys_removexattr
,
sys_lremovexattr
,
compat_sys
_sigpending
,
sys_ni_syscall
.
word
sys_setpgid
,
sys_fremovexattr
,
sys_tkill
,
sys_exit_group
,
sparc64_newuname
.
word
sys_setpgid
,
sys_fremovexattr
,
sys_tkill
,
sys_exit_group
,
sparc64_newuname
/*
190
*/
.
word
sys32_init_module
,
sparc64_personality
,
sys_remap_file_pages
,
sys_epoll_create
,
sys_epoll_ctl
/*
190
*/
.
word
sys32_init_module
,
sparc64_personality
,
sys_remap_file_pages
,
sys_epoll_create
,
sys_epoll_ctl
.
word
sys_epoll_wait
,
sys_nis_syscall
,
sys_getppid
,
sys32_sigaction
,
sys_sgetmask
.
word
sys_epoll_wait
,
sys_nis_syscall
,
sys_getppid
,
sys32_sigaction
,
sys_sgetmask
...
@@ -63,7 +63,7 @@ sys_call_table32:
...
@@ -63,7 +63,7 @@ sys_call_table32:
.
word
sys32_readahead
,
sys32_socketcall
,
sys_syslog
,
sys32_lookup_dcookie
,
sys_nis_syscall
.
word
sys32_readahead
,
sys32_socketcall
,
sys_syslog
,
sys32_lookup_dcookie
,
sys_nis_syscall
/*
210
*/
.
word
sys_nis_syscall
,
sys_nis_syscall
,
sys_waitpid
,
sys_swapoff
,
sys32_sysinfo
/*
210
*/
.
word
sys_nis_syscall
,
sys_nis_syscall
,
sys_waitpid
,
sys_swapoff
,
sys32_sysinfo
.
word
sys32_ipc
,
sys32_sigreturn
,
sys_clone
,
sys_nis_syscall
,
sys32_adjtimex
.
word
sys32_ipc
,
sys32_sigreturn
,
sys_clone
,
sys_nis_syscall
,
sys32_adjtimex
/*
220
*/
.
word
sys32
_sigprocmask
,
sys_ni_syscall
,
sys32_delete_module
,
sys_ni_syscall
,
sys_getpgid
/*
220
*/
.
word
compat_sys
_sigprocmask
,
sys_ni_syscall
,
sys32_delete_module
,
sys_ni_syscall
,
sys_getpgid
.
word
sys32_bdflush
,
sys32_sysfs
,
sys_nis_syscall
,
sys32_setfsuid16
,
sys32_setfsgid16
.
word
sys32_bdflush
,
sys32_sysfs
,
sys_nis_syscall
,
sys32_setfsuid16
,
sys32_setfsgid16
/*
230
*/
.
word
sys32_select
,
sys_time
,
sys_nis_syscall
,
sys_stime
,
sys_ni_syscall
/*
230
*/
.
word
sys32_select
,
sys_time
,
sys_nis_syscall
,
sys_stime
,
sys_ni_syscall
.
word
sys_ni_syscall
,
sys_llseek
,
sys_mlock
,
sys_munlock
,
sys_mlockall
.
word
sys_ni_syscall
,
sys_llseek
,
sys_mlock
,
sys_munlock
,
sys_mlockall
...
@@ -203,7 +203,7 @@ sunos_sys_table:
...
@@ -203,7 +203,7 @@ sunos_sys_table:
.
word
sunos_nosys
,
sunos_getdents
,
sys_setsid
.
word
sunos_nosys
,
sunos_getdents
,
sys_setsid
.
word
sys_fchdir
,
sunos_nosys
,
sunos_nosys
.
word
sys_fchdir
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
sys32
_sigpending
,
sunos_nosys
.
word
sunos_nosys
,
compat_sys
_sigpending
,
sunos_nosys
.
word
sys_setpgid
,
sunos_pathconf
,
sunos_fpathconf
.
word
sys_setpgid
,
sunos_pathconf
,
sunos_fpathconf
.
word
sunos_sysconf
,
sunos_uname
,
sunos_nosys
.
word
sunos_sysconf
,
sunos_uname
,
sunos_nosys
.
word
sunos_nosys
,
sunos_nosys
,
sunos_nosys
.
word
sunos_nosys
,
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