freebsd-skq/sys/compat/freebsd32
Marcel Moolenaar 80b47aefa1 Move the SCTP syscalls to netinet with the rest of the SCTP code. The
syscalls themselves are tightly coupled with the network stack and
therefore should not be in the generic socket code.

The following four syscalls have been marked as NOSTD so they can be
dynamically registered in sctp_syscalls_init() function:
  sys_sctp_peeloff
  sys_sctp_generic_sendmsg
  sys_sctp_generic_sendmsg_iov
  sys_sctp_generic_recvmsg

The syscalls are also set up to be dynamically registered when COMPAT32
option is configured.

As a side effect of moving the SCTP syscalls, getsock_cap needs to be
made available outside of the uipc_syscalls.c source file.  A proper
prototype has been added to the sys/socketvar.h header file.

API tests from the SCTP reference implementation have been run to ensure
compatibility. (http://code.google.com/p/sctp-refimpl/source/checkout)

Submitted by:	Steve Kiernan <stevek@juniper.net>
Reviewed by:	tuexen, rrs
Obtained from:	Juniper Networks, Inc.
2014-10-09 15:16:52 +00:00
..
freebsd32_capability.c Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
freebsd32_ioctl.c Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
freebsd32_ioctl.h Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
freebsd32_ipc.h Move SysV IPC freebsd32 compat shims helpers from freebsd32_misc.c to 2010-03-19 11:01:51 +00:00
freebsd32_misc.c Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
freebsd32_misc.h Move the PAIR32TO64() macro and the RETVAL_HI/RETVAL_LO defines to a 2013-08-18 13:34:11 +00:00
freebsd32_proto.h Regen. 2014-08-27 01:02:19 +00:00
freebsd32_signal.h Move the convert_sigevent32() utility function into freebsd32_misc.c 2013-07-21 19:33:48 +00:00
freebsd32_syscall.h Regen. 2014-08-27 01:02:19 +00:00
freebsd32_syscalls.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_sysent.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_systrace_args.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_util.h Remove ia64. 2014-07-07 00:27:09 +00:00
freebsd32.h Return real parent pid in kinfo (used by e.g. ps) 2014-08-28 08:41:11 +00:00
Makefile add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls 2011-03-12 08:51:43 +00:00
syscalls.conf add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls 2011-03-12 08:51:43 +00:00
syscalls.master Move the SCTP syscalls to netinet with the rest of the SCTP code. The 2014-10-09 15:16:52 +00:00