Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1607611
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86/syscalls/32: ignore arch_prctl for other architectures |
| Date | 2017-03-23 16:30 +0100 |
| Message-ID | <tocQy-473-27@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
sys_arch_prctl is only provided on x86, and there is no reason
to add it elsewhere. However, including it on the 32-bit syscall
table caused a warning for most configurations on non-x86:
:1328:2: warning: #warning syscall arch_prctl not implemented [-Wcpp]
This adds an exception to the syscall table checking script.
Fixes: 79170fda313e ("x86/syscalls/32: Wire up arch_prctl on x86-32")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
scripts/checksyscalls.sh | 1 +
1 file changed, 1 insertion(+)
Thomas, can you apply this on top of the x86 patch?
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index f7ad07128811..0cce56da3706 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -148,6 +148,7 @@ cat << EOF
#define __IGNORE_sysfs
#define __IGNORE_uselib
#define __IGNORE__sysctl
+#define __IGNORE_arch_prctl
/* ... including the "new" 32-bit uid syscalls */
#define __IGNORE_lchown32
--
2.9.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] x86/syscalls/32: ignore arch_prctl for other architectures Arnd Bergmann <arnd@arndb.de> - 2017-03-23 16:30 +0100 Re: [PATCH] x86/syscalls/32: ignore arch_prctl for other architectures Kyle Huey <me@kylehuey.com> - 2017-03-23 20:00 +0100 [tip:x86/process] x86/syscalls/32: Ignore arch_prctl for other architectures tip-bot for Arnd Bergmann <tipbot@zytor.com> - 2017-03-24 14:30 +0100
csiph-web