freebsd-dev/sys
Konstantin Belousov 0538aafc41 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
2015-04-18 21:50:13 +00:00
..
amd64 Remove lazy pmap switch code from i386. Naive benchmark with md(4) 2015-04-18 21:23:16 +00:00
arm Move the items common to all SoCs to a single file. 2015-04-18 03:07:01 +00:00
arm64 Use the address of fsu_intr_fault, not the first two instructions in it as 2015-04-17 12:58:09 +00:00
boot Add "GELI Passphrase:" prompt to boot loader. 2015-04-16 20:53:15 +00:00
bsm
cam Initialize async_arg_ptr in xpt_async when called with async_code 2015-04-14 16:33:33 +00:00
cddl Remove vfs.zfs.snapshot_list_prefetch, the corresponding code was 2015-04-17 21:21:11 +00:00
compat Remove unused code from linux_mount(), and make it possible to mount 2015-04-18 09:49:09 +00:00
conf Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
contrib Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
crypto In the version of gcc in the FreeBSD tree, this modification was made to 2015-04-16 17:42:52 +00:00
ddb
dev Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
fs Drop experimental dir_index support. 2015-04-17 22:26:01 +00:00
gdb
geom Remove sleeps from geom_up thread on device destruction. 2015-04-09 13:09:05 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Remove lazy pmap switch code from i386. Naive benchmark with md(4) 2015-04-18 21:23:16 +00:00
isa
kern The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
kgssapi
libkern
mips Start enabling the available GPIO pins on the Carambola 2. 2015-04-12 00:02:32 +00:00
modules Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
net Bring in if_types.h from projects/ifnet, where types are 2015-04-17 06:39:15 +00:00
net80211 iwn, wlan: fix typos 2015-04-10 20:55:17 +00:00
netgraph Forgot to add default event mask definition. 2015-04-18 06:16:33 +00:00
netinet Provide functions to determine presence of a given address 2015-04-17 11:57:06 +00:00
netinet6 Fix r281649: don't call in6_clearscope() twice. 2015-04-17 15:26:08 +00:00
netipsec Change ipsec_address() and ipsec_logsastr() functions to take two 2015-04-18 16:58:33 +00:00
netnatm
netpfil Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
netsmb
nfs
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed fd: remove filedesc argument from fdclose 2015-04-11 15:40:28 +00:00
opencrypto add the define to properly guard this header.. 2015-04-07 09:00:03 +00:00
pc98 Fix kernel build ${MACHINE} path 2015-04-16 22:34:10 +00:00
powerpc Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
rpc Remove hard limits on number of accepting NFS connections. 2015-04-07 10:25:27 +00:00
security
sparc64 Add support for the uart classes to set their default register shift value. 2015-04-11 17:16:23 +00:00
sys Move ALTQ from contrib to net/altq. The ALTQ code is for many years 2015-04-16 20:22:40 +00:00
teken
tools
ufs File systems that do not use the buffer cache (such as ZFS) must 2015-04-15 20:16:31 +00:00
vm The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
x86 Revert unrelated chunk from the r281707. 2015-04-18 21:27:28 +00:00
xdr
xen
Makefile