opnsense-src/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 We need to discard `const'ness explicitly when invoking sysarch. 2004-01-10 15:57:06 +00:00
__sparc_utrap.c Provide a type for the argument. 2009-02-02 21:51:52 +00:00
__sparc_utrap_align.c Use the right byte order for unaligned stores. <blush>. 2002-05-13 22:48:01 +00:00
__sparc_utrap_emul.c Add a support macro to convert the 5-bit packed register field of 2002-05-11 21:20:05 +00:00
__sparc_utrap_fp_disabled.S Use FBSDID 2002-06-30 05:36:49 +00:00
__sparc_utrap_gen.S Disconnect sun4v architecture from the three. 2011-05-14 01:53:38 +00:00
__sparc_utrap_install.c Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
__sparc_utrap_private.h Handle alignment fault fixups in libc rather than in the kernel. 2002-05-13 04:35:08 +00:00
__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
assym.s Add an alternate signal trampoline to libc; add a wrapper for the sigtramp 2002-04-29 18:14:44 +00:00
brk.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
cerror.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
exect.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Makefile.inc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
pipe.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ptrace.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sbrk.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
setlogin.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
sigaction1.S Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal 2015-02-16 22:13:03 +00:00
sigcode.S Rename the libc signal trampoline to __sigtramp to match netbsd. This 2002-10-22 15:15:39 +00:00