[tip:x86/urgent] x86-32: Fix typo for mq_getsetattr in syscall table
From: tip-bot for Thierry Reding
Date: Thu Mar 22 2012 - 17:25:49 EST
Commit-ID: 13354dc412c36fe554f9904a92f1268c74af7e87
Gitweb: http://git.kernel.org/tip/13354dc412c36fe554f9904a92f1268c74af7e87
Author: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
AuthorDate: Wed, 21 Mar 2012 22:50:08 +0100
Committer: H. Peter Anvin <hpa@xxxxxxxxx>
CommitDate: Thu, 22 Mar 2012 12:42:41 -0700
x86-32: Fix typo for mq_getsetattr in syscall table
Syscall 282 was mistakenly named mq_getsetaddr instead of mq_getsetattr.
When building uClibc against the Linux kernel this would result in a
shared library that doesn't provide the mq_getattr() and mq_setattr()
functions.
Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1332366608-2695-2-git-send-email-thierry.reding@xxxxxxxxxxxxxxxxx
Cc: <stable@xxxxxxxxxxxxxxx> v3.3
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
---
arch/x86/syscalls/syscall_32.tbl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index ce98e28..e7e67cc 100644
--- a/arch/x86/syscalls/syscall_32.tbl
+++ b/arch/x86/syscalls/syscall_32.tbl
@@ -288,7 +288,7 @@
279 i386 mq_timedsend sys_mq_timedsend compat_sys_mq_timedsend
280 i386 mq_timedreceive sys_mq_timedreceive compat_sys_mq_timedreceive
281 i386 mq_notify sys_mq_notify compat_sys_mq_notify
-282 i386 mq_getsetaddr sys_mq_getsetattr compat_sys_mq_getsetattr
+282 i386 mq_getsetattr sys_mq_getsetattr compat_sys_mq_getsetattr
283 i386 kexec_load sys_kexec_load compat_sys_kexec_load
284 i386 waitid sys_waitid compat_sys_waitid
# 285 sys_setaltroot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/