projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28d27f2
)
switch compat_sys_sigprocmask to COMPAT_SYSCALL_DEFINE
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 26 Nov 2012 00:41:01 +0000
(19:41 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 20:09:21 +0000
(15:09 -0500)
In principle, C ABI violation on ppc and mips...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/compat.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/compat.c
b/kernel/compat.c
index 460e98f8fbf0fa379b665edc901b65fba7c341db..a53b04a2b5eb8695f3244370d43ee58596c3d130 100644
(file)
--- a/
kernel/compat.c
+++ b/
kernel/compat.c
@@
-381,9
+381,9
@@
static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set)
memcpy(blocked->sig, &set, sizeof(set));
}
-
asmlinkage long compat_sys_sigprocmask(int
how,
-
compat_old_sigset_t __user *
nset,
-
compat_old_sigset_t __user *
oset)
+
COMPAT_SYSCALL_DEFINE3(sigprocmask, int,
how,
+
compat_old_sigset_t __user *,
nset,
+
compat_old_sigset_t __user *,
oset)
{
old_sigset_t old_set, new_set;
sigset_t new_blocked;