1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/share
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
..
colldef
dict Remove ia64. 2014-07-07 00:27:09 +00:00
doc Remove docs that are not shipped with nvi anymore 2015-04-10 19:07:43 +00:00
dtrace Summary: Update the ports to read from the packet rather than the 2015-03-08 04:33:53 +00:00
examples Catch up with Clang 3.6.0. 2015-03-17 05:48:45 +00:00
i18n Revert r258254: Alias WCHAR_T to UCS-4-INTERNAL. 2014-01-03 23:35:01 +00:00
keys Remove scary comment about this being a test key. 2014-01-13 20:55:15 +00:00
man Make wait6(2), waitid(3) and ppoll(2) cancellation points. The 2015-04-18 21:35:41 +00:00
me multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
misc Add myself (kp) to committers-src.dot 2015-03-26 15:27:38 +00:00
mk The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
mklocale
monetdef
msgdef
numericdef
security
sendmail
skel Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
snmp
syscons Fix minor problems found while converting to NEWCONS format. 2014-08-18 20:58:17 +00:00
tabset
termcap Fix building termcap.db when make obj is run beforehand from a clean tree by 2014-12-10 23:18:11 +00:00
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
timedef
vt Add forgotten keymap files fr.kbd and fr.acc.kbd to the FILES list. 2014-09-12 06:23:57 +00:00
zoneinfo Avoid ./ in zoneinfo entries in METALOG 2014-09-03 18:51:33 +00:00
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc