summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-04-18 21:50:13 +0000
committerkib <kib@FreeBSD.org>2015-04-18 21:50:13 +0000
commit2254748ed0eebd8391a1bc331f3d54d0ddb1f69d (patch)
tree5939add2a0816746476989dd37677ad0fb0428ac /share
parent2b1ec4f62f3bd13a47fea3a9c366c9a7a0ac35e0 (diff)
downloadFreeBSD-src-2254748ed0eebd8391a1bc331f3d54d0ddb1f69d.zip
FreeBSD-src-2254748ed0eebd8391a1bc331f3d54d0ddb1f69d.tar.gz
The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and
pwrite(2) syscalls are wrapped to provide compatibility with pre-7.x kernels which required padding before the off_t parameter. The fcntl(2) contains compatibility code to handle kernels before the struct flock was changed during the 8.x CURRENT development. The shims were reasonable to allow easier revert to the older kernel at that time. Now, two or three major releases later, shims do not serve any purpose. Such old kernels cannot handle current libc, so revert the compatibility code. Make padded syscalls support conditional under the COMPAT6 config option. For COMPAT32, the syscalls were under COMPAT6 already. Remove WITHOUT_SYSCALL_COMPAT build option, which only purpose was to (partially) disable the removed shims. Reviewed by: jhb, imp (previous versions) Discussed with: peter Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/mk/src.opts.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 6bcff64..f98e19f 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -154,7 +154,6 @@ __DEFAULT_YES_OPTIONS = \
SOURCELESS_HOST \
SOURCELESS_UCODE \
SVNLITE \
- SYSCALL_COMPAT \
SYSCONS \
SYSINSTALL \
TALK \
@@ -235,8 +234,6 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC
.endif
.if ${__T} == "aarch64"
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GDB
-# There was no support for arm64 prior to FreeBSD 11
-BROKEN_OPTIONS+=SYSCALL_COMPAT
.endif
.include <bsd.mkopt.mk>
OpenPOWER on IntegriCloud