This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: Add x32 dummy sysctl
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 17 May 2012 05:31:11 -0700
- Subject: PATCH: Add x32 dummy sysctl
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
X32 doesn't have _sysctl system call. This patch adds a dummy. OK
to install?
Thanks.
H.J.
---
* sysdeps/unix/sysv/linux/x86_64/x32/sysctl.c: New file.
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.c b/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.c
new file mode 100644
index 0000000..634c289
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/sysctl.c
@@ -0,0 +1 @@
+/* X32 doesn't have _sysctl. */
--
1.7.6.5