summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/compat.h
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2016-04-06 16:09:10 +0000
committerandrew <andrew@FreeBSD.org>2016-04-06 16:09:10 +0000
commit1c933ace1f9b45949f4fde8695e411d3eb21fdc4 (patch)
tree7f9d52844e57c75b7e192c75ac6910fce3b3ed76 /lib/libc/include/compat.h
parente2cfe2525660130f6dd9d3fb0e97fe34ceaae281 (diff)
downloadFreeBSD-src-1c933ace1f9b45949f4fde8695e411d3eb21fdc4.zip
FreeBSD-src-1c933ace1f9b45949f4fde8695e411d3eb21fdc4.tar.gz
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
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 b20fac5..e83d13c 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
OpenPOWER on IntegriCloud