aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/compat.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-04-06 16:09:10 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-04-06 16:09:10 +0000
commit4798b7f381aee3930f0dcd26906e2f8299078523 (patch)
tree7f9d52844e57c75b7e192c75ac6910fce3b3ed76 /lib/libc/include/compat.h
parent33bed970fa913cbdc392828d1cb1ebd1d8ce2a31 (diff)
downloadsrc-4798b7f381aee3930f0dcd26906e2f8299078523.tar.gz
src-4798b7f381aee3930f0dcd26906e2f8299078523.zip
Disable support for compat syscalls on arm64. These symbols were never
shipped since arm64 exists only on 11+. Submitted by: brooks Reviewed by: emaste, imp
Notes
Notes: svn path=/head/; revision=297619
Diffstat (limited to 'lib/libc/include/compat.h')
-rw-r--r--lib/libc/include/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/compat.h b/lib/libc/include/compat.h
index b20fac5ac600..e83d13c15753 100644
--- a/lib/libc/include/compat.h
+++ b/lib/libc/include/compat.h
@@ -38,9 +38,11 @@
#define __sym_compat(sym,impl,verid) \
.symver impl, sym@verid
+#ifndef NO_COMPAT7
__sym_compat(__semctl, freebsd7___semctl, FBSD_1.0);
__sym_compat(msgctl, freebsd7_msgctl, FBSD_1.0);
__sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0);
+#endif
#undef __sym_compat