freebsd-dev/lib/libc/sparc64/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
..
__sparc_sigtramp_setup.c
__sparc_utrap_align.c
__sparc_utrap_emul.c
__sparc_utrap_fp_disabled.S
__sparc_utrap_gen.S Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
__sparc_utrap_install.c
__sparc_utrap_private.h
__sparc_utrap_setup.c In lib/libc/sparc64/sys/__sparc_utrap_setup.c, avoid an error about 2014-02-20 23:02:42 +00:00
__sparc_utrap.c
assym.s
brk.S
cerror.S
exect.S
Makefile.inc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
pipe.S
ptrace.S
sbrk.S
setlogin.S
sigaction1.S Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal 2015-02-16 22:13:03 +00:00
sigcode.S