HardenedBSD/lib
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 Add LIB_CXX so that C++ libraries will use CXX to link. 2015-03-17 15:16:36 +00:00
clang Update generated include/llvm/Support/DataTypes.h. 2015-02-28 00:31:01 +00:00
csu Ensure the cross assembler, linker and objcopy are used for the build32 2015-04-02 06:58:17 +00:00
libalias
libarchive Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
libauditd
libbegemot
libblocksruntime
libbluetooth Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED 2015-04-07 16:48:23 +00:00
libbsdstat
libbsm
libbsnmp
libbz2
libc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
libc_nonshared
libc++
libcalendar
libcam
libcapsicum
libcasper
libclang_rt Update compiler-rt to trunk r228651. This enables using Address 2015-02-22 22:31:36 +00:00
libcom_err
libcompat rexec(3): prevent uninitialized access to "port" variable. 2015-02-16 21:35:29 +00:00
libcompiler_rt compiler_rt: add floatunsitf for arm64 2015-04-16 12:54:28 +00:00
libcrypt
libcuse
libcxxrt
libdevctl Add a new device control utility for new-bus devices called devctl. This 2015-02-06 16:09:01 +00:00
libdevinfo Expose the constants for internal new-bus device flags to userland. The 2015-02-05 22:42:44 +00:00
libdevstat Remove an obsolete comment in devstat(3) about the accuracy of the 2015-02-27 02:44:12 +00:00
libdpv
libdwarf
libedit revert r278414 2015-02-08 23:03:41 +00:00
libefi
libelf
libelftc Update reported elftoolchain version to 3179 2015-04-06 13:55:33 +00:00
libevent
libexecinfo
libexpat
libfetch Remove defunct SSLv2 support from fetch(1) and fetch(3). 2015-03-25 18:56:36 +00:00
libfigpar
libgeom Make GEOM_PART work in presence of previous withered self. 2015-03-26 12:17:47 +00:00
libgpib
libgpio Add the missing manual page link to the recently added function. 2015-03-20 19:29:59 +00:00
libgssapi
libiconv_modules Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
libipsec
libjail
libkiconv Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
libkvm Add stub functions to build libkvm. There will be added, but we need them 2015-04-02 17:30:19 +00:00
libldns
liblzma For reasons that I am not understand yet, using the libmd version of 2015-04-10 17:21:47 +00:00
libmagic
libmandoc
libmd
libmemstat
libmilter
libmp
libmt Convert mt(1) and libmt to LIBADD 2015-04-09 21:26:38 +00:00
libnandfs
libnetbsd
libnetgraph Some NetGraph debug polishing. 2015-02-06 09:41:16 +00:00
libngatm
libnv Fix lib/libnv tests compilation with -std=c++11, by adding appropriate 2015-03-08 00:30:52 +00:00
libohash
libopie
libpam Conditionalize building radius support into libpam, ppp, etc via 2015-02-04 06:53:45 +00:00
libpcap
libpjdlog
libpmc Implement hwpmc(4) for Freescale e500 core. 2015-04-18 21:39:17 +00:00
libproc Fix debug symbols loading in libproc: 0 is a valid file descriptor. 2015-03-13 04:26:48 +00:00
libprocstat
libradius
librpcsec_gss
librpcsvc
librt
librtld_db
libsbuf
libsdp Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED 2015-04-07 16:48:23 +00:00
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstand Add the start of libc and libstand for arm64. Not all of the machine 2015-04-07 09:52:14 +00:00
libstdbuf
libstdthreads Use pthread_mutex_trylock(3) to implement mtx_trylock(3). 2015-02-26 16:39:57 +00:00
libtacplus
libtelnet
libthr The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
libthread_db Add the arm64 parts of libthread_db. 2015-04-01 08:37:50 +00:00
libucl Lower warnings to please gcc 4.2 2015-03-03 07:51:36 +00:00
libufs
libugidfw
libulog
libunbound
libusb
libusbhid
libutil gr_equal(): Fix a crash that could occur if the first group's member list 2015-01-25 00:47:06 +00:00
libvgl
libvmmapi Fix overlinking in bhyve: 2015-04-09 21:38:40 +00:00
libwrap
libxo
liby
libypclnt
libz
msun Add the fe* symbols to libm for arm64. 2015-03-31 19:07:28 +00:00
ncurses
tests
Makefile Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
Makefile.inc