freebsd-dev/share/mk
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
..
atf.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
bsd.arch.inc.mk Merge from tbemd 2010-06-11 02:50:53 +00:00
bsd.compiler.mk The previous commit should have been a logical or not a logical "and" 2014-12-08 03:32:26 +00:00
bsd.cpu.mk Catch up with Clang 3.6.0. 2015-03-17 05:48:45 +00:00
bsd.crunchgen.mk NO_DEBUG_FILES -> MK_DEBUG_FILES=no in last remaining place. 2014-04-25 19:25:18 +00:00
bsd.dep.mk Add a DTRACEFLAGS variable, which can be used to pass additional variables 2015-04-08 02:43:05 +00:00
bsd.doc.mk Move DOCCOMPRESS to MK variable. 2014-05-10 16:38:54 +00:00
bsd.dtb.mk Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
bsd.endian.mk Start to import support for the AArch64 architecture from ARM. This change 2015-03-19 13:53:47 +00:00
bsd.files.mk Ensure files are created during the build when using bsd.subdir.mk. 2014-06-09 14:36:49 +00:00
bsd.incs.mk Acutally, replaces NO_INCS with WITHOUT_INCLUDES and make 2014-11-18 17:06:44 +00:00
bsd.info.mk Remove MK_INFO guards in bsd.info.mk per r276556 2015-01-02 22:55:30 +00:00
bsd.init.mk Include bsd.opts.mk before Makefile.inc so Makefile.inc can do things 2014-04-24 02:02:51 +00:00
bsd.kmod.mk Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
bsd.lib.mk Add LIB_CXX so that C++ libraries will use CXX to link. 2015-03-17 15:16:36 +00:00
bsd.libnames.mk Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
bsd.links.mk Fix DESTDIR support 2015-03-15 23:40:50 +00:00
bsd.man.mk Use mandoc to generate cat pages 2015-01-02 14:05:30 +00:00
bsd.mkopt.mk Revert the __ALWAYS_NO stuff. It had already been committed as BROKEN. 2015-03-27 21:47:15 +00:00
bsd.nls.mk
bsd.obj.mk Allow relative pathnames in SRCS, so as to enable building software 2015-03-14 12:29:44 +00:00
bsd.opts.mk Remove leftovers from r276551 2015-01-02 18:54:55 +00:00
bsd.own.mk release: use xz via pipe when compressing the tarballs. 2015-02-17 23:13:45 +00:00
bsd.port.mk Revise r272363 by collapsing the tests into a for loop. 2014-10-01 20:52:08 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Revise r272363 by collapsing the tests into a for loop. 2014-10-01 20:52:08 +00:00
bsd.prog.mk Make the extra dependencies in DPADD be dependencies of PROG_FULL and 2015-02-13 17:33:27 +00:00
bsd.progs.mk Revert r281055 as it breaks installing test scripts in the mixed PROGS/SCRIPT 2015-04-13 21:29:40 +00:00
bsd.README Document LIB and LIB_CXX. 2015-03-17 15:21:01 +00:00
bsd.snmpmod.mk
bsd.subdir.mk Create a mechanism for providing fine-grained build order dependencies 2014-06-15 13:45:37 +00:00
bsd.symver.mk
bsd.sys.mk Re-enable using -mllvm -enable-load-pre=false in CLANG_OPT_SMALL for 2015-03-28 12:23:15 +00:00
bsd.test.mk Fix the logic inversion in the previous commit by ensuring that the matched 2014-10-29 04:32:46 +00:00
Makefile Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
netbsd-tests.test.mk Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after atf-c/config.h 2014-11-04 05:02:22 +00:00
plain.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
src.libnames.mk Make it harder to specify invalid LIBADD by causing values without 2015-04-16 15:34:22 +00:00
src.opts.mk The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
src.sys.mk If sys.mk were found via the magic path .../share/mk 2015-02-24 19:03:31 +00:00
suite.test.mk Move FreeBSD Test Suite-specific code to a suite.test.mk file. 2014-03-14 12:52:55 +00:00
sys.mk Add a DTRACEFLAGS variable, which can be used to pass additional variables 2015-04-08 02:43:05 +00:00
tap.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
version_gen.awk