svn commit: r303755 - head/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Thu Aug 4 19:14:19 UTC 2016
Author: bdrewery
Date: Thu Aug 4 19:14:18 2016
New Revision: 303755
URL: https://svnweb.freebsd.org/changeset/base/303755
Log:
Still provide freebsd10_* symbols from libc for COMPAT10.
r296773 was done to only remove libc symbols for <7. We want to provide
the syscall symbols going forward for 7+.
Discussed with: jhb
MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/kern/makesyscalls.sh
Modified: head/sys/kern/makesyscalls.sh
==============================================================================
--- head/sys/kern/makesyscalls.sh Thu Aug 4 18:29:16 2016 (r303754)
+++ head/sys/kern/makesyscalls.sh Thu Aug 4 19:14:18 2016 (r303755)
@@ -578,8 +578,8 @@ s/\$//g
printf("/* %d = %s %s */\n", syscall, descr, funcalias) > sysent
printf("\t\"%s.%s\",\t\t/* %d = %s %s */\n",
wrap, funcalias, syscall, descr, funcalias) > sysnames
- # XXX-BD: why no COMPAT7?
- if (flag("COMPAT") || flag("COMPAT4") || flag("COMPAT6") || flag("COMPAT10")) {
+ # Do not provide freebsdN_* symbols in libc for < FreeBSD 7
+ if (flag("COMPAT") || flag("COMPAT4") || flag("COMPAT6")) {
printf("\t\t\t\t/* %d is %s %s */\n",
syscall, descr, funcalias) > syshdr
} else if (!flag("NODEF")) {
More information about the svn-src-head
mailing list